Transformed
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
goog.provide('ol.loadingstrategy');
|
||||
/**
|
||||
* @module ol/loadingstrategy
|
||||
*/
|
||||
var _ol_loadingstrategy_ = {};
|
||||
|
||||
|
||||
/**
|
||||
@@ -8,7 +11,7 @@ goog.provide('ol.loadingstrategy');
|
||||
* @return {Array.<ol.Extent>} Extents.
|
||||
* @api
|
||||
*/
|
||||
ol.loadingstrategy.all = function(extent, resolution) {
|
||||
_ol_loadingstrategy_.all = function(extent, resolution) {
|
||||
return [[-Infinity, -Infinity, Infinity, Infinity]];
|
||||
};
|
||||
|
||||
@@ -21,7 +24,7 @@ ol.loadingstrategy.all = function(extent, resolution) {
|
||||
* @return {Array.<ol.Extent>} Extents.
|
||||
* @api
|
||||
*/
|
||||
ol.loadingstrategy.bbox = function(extent, resolution) {
|
||||
_ol_loadingstrategy_.bbox = function(extent, resolution) {
|
||||
return [extent];
|
||||
};
|
||||
|
||||
@@ -32,7 +35,7 @@ ol.loadingstrategy.bbox = function(extent, resolution) {
|
||||
* @return {function(ol.Extent, number): Array.<ol.Extent>} Loading strategy.
|
||||
* @api
|
||||
*/
|
||||
ol.loadingstrategy.tile = function(tileGrid) {
|
||||
_ol_loadingstrategy_.tile = function(tileGrid) {
|
||||
return (
|
||||
/**
|
||||
* @param {ol.Extent} extent Extent.
|
||||
@@ -56,3 +59,4 @@ ol.loadingstrategy.tile = function(tileGrid) {
|
||||
return extents;
|
||||
});
|
||||
};
|
||||
export default _ol_loadingstrategy_;
|
||||
|
||||
Reference in New Issue
Block a user