Fix typo in View2D:getExtent

This commit is contained in:
Éric Lemoine
2013-05-09 23:42:55 +02:00
parent c9299f3b8d
commit c34d637de1

View File

@@ -178,7 +178,7 @@ ol.View2D.prototype.getExtent = function(size) {
var maxX = center[0] + resolution * size.width / 2;
var minY = center[1] - resolution * size.height / 2;
var maxY = center[1] + resolution * size.height / 2;
return [minX, maxX, minY, maxX];
return [minX, maxX, minY, maxY];
};