Strategies for loading vector data.
Methods
-
Strategy function for loading all features with a single request.
Name Type Description extent
ol.Extent Extent.
resolution
number Resolution.
Returns:
Extents.
-
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.tile(tileGrid){function}
src/ol/loadingstrategy.js, line 35 -
Creates a strategy function for loading features based on a tile grid.
Name Type Description tileGrid
ol.tilegrid.TileGrid Tile grid.
Returns:
Loading strategy.