ol/loadingstrategy
import * as olLoadingstrategy from 'ol/loadingstrategy';
Functions
-
all(extent, resolution){Array<Extent>}
-
import {all} from 'ol/loadingstrategy';Strategy function for loading all features with a single request.
Name Type Description extentExtent Extent.
resolutionnumber Resolution.
Returns:
Extents.
-
bbox(extent, resolution){Array<Extent>}
-
import {bbox} from 'ol/loadingstrategy';Strategy function for loading features based on the view's extent and resolution.
Name Type Description extentExtent Extent.
resolutionnumber Resolution.
Returns:
Extents.
-
tile(tileGrid){function}
-
import {tile} from 'ol/loadingstrategy';Creates a strategy function for loading features based on a tile grid.
Name Type Description tileGridTileGrid Tile grid.
Returns:
Loading strategy.
© 2005-present, OpenLayers Contributors All rights reserved.Licensed under the BSD 2-Clause License.
https://openlayers.org/en/latest/apidoc/module-ol_loadingstrategy.html