Top should always be greater than or equal to bottom in ol.TileBounds
This commit is contained in:
@@ -16,6 +16,9 @@ goog.require('ol.TileCoord');
|
||||
*/
|
||||
ol.TileBounds = function(top, right, bottom, left) {
|
||||
|
||||
goog.asserts.assert(top <= bottom);
|
||||
goog.asserts.assert(left <= right);
|
||||
|
||||
goog.base(this, top, right, bottom, left);
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user