Strategies for loading vector data.
Methods
-
ol.loadingstrategy.all(extent, resolution){Array.<ol.Extent>} experimental
-
Strategy function for loading all features with a single request.
Name Type Description extent
ol.Extent Extent.
resolution
number Resolution.
Returns:
Extents.
-
ol.loadingstrategy.bbox(extent, resolution){Array.<ol.Extent>} experimental
-
Strategy function for loading features based on the view's extent and resolution.
Name Type Description extent
ol.Extent Extent.
resolution
number Resolution.
Returns:
Extents.
-
ol.loadingstrategy.createTile(tileGrid){function} experimental
-
Creates a strategy function for loading features based on a tile grid.
Name Type Description tileGrid
ol.tilegrid.TileGrid Tile grid.
Returns:
Loading strategy.