Merge pull request #3261 from adube/fix-extent-foreachcorner

Fix forEachCorner extent, add TopLeft
This commit is contained in:
Tobias Sauerwein
2015-02-20 16:01:37 +01:00
+1 -1
View File
@@ -463,7 +463,7 @@ ol.extent.forEachCorner = function(extent, callback, opt_this) {
if (val) { if (val) {
return val; return val;
} }
val = callback.call(opt_this, ol.extent.getBottomRight(extent)); val = callback.call(opt_this, ol.extent.getTopLeft(extent));
if (val) { if (val) {
return val; return val;
} }