Rename ol.loading to ol.loadingstrategy

This commit is contained in:
Tom Payne
2014-03-13 20:21:15 +01:00
parent de4a17b8e2
commit b8869805a7
7 changed files with 23 additions and 12 deletions
+11
View File
@@ -597,6 +597,17 @@ ol.extent.isEmpty = function(extent) {
};
/**
* @param {ol.Extent} extent Extent.
* @return {boolean} Is infinite.
* @todo stability experimental
*/
ol.extent.isInfinite = function(extent) {
return extent[0] == -Infinity || extent[1] == -Infinity ||
extent[2] == Infinity || extent[3] == Infinity;
};
/**
* @param {ol.Extent} extent Extent.
* @param {ol.Coordinate} coordinate Coordinate.