Skip to content

Commit

Permalink
Merge pull request openlayers#3261 from adube/fix-extent-foreachcorner
Browse files Browse the repository at this point in the history
Fix forEachCorner extent, add TopLeft
  • Loading branch information
Tobias Sauerwein committed Feb 20, 2015
2 parents c303739 + e1336e1 commit 3fbc6fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ol/extent.js
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ ol.extent.forEachCorner = function(extent, callback, opt_this) {
if (val) {
return val;
}
val = callback.call(opt_this, ol.extent.getBottomRight(extent));
val = callback.call(opt_this, ol.extent.getTopLeft(extent));
if (val) {
return val;
}
Expand Down

0 comments on commit 3fbc6fa

Please sign in to comment.