package.loadingstrategy.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ol Show documentation
Show all versions of ol Show documentation
OpenLayers mapping library
The newest version!
/**
* Strategy function for loading all features with a single request.
* @param {import("./extent.js").Extent} extent Extent.
* @param {number} resolution Resolution.
* @return {Array} Extents.
* @api
*/
export function all(extent: import("./extent.js").Extent, resolution: number): Array;
/**
* Strategy function for loading features based on the view's extent and
* resolution.
* @param {import("./extent.js").Extent} extent Extent.
* @param {number} resolution Resolution.
* @return {Array} Extents.
* @api
*/
export function bbox(extent: import("./extent.js").Extent, resolution: number): Array;
/**
* Creates a strategy function for loading features based on a tile grid.
* @param {import("./tilegrid/TileGrid.js").default} tileGrid Tile grid.
* @return {function(import("./extent.js").Extent, number, import("./proj.js").Projection): Array} Loading strategy.
* @api
*/
export function tile(tileGrid: import("./tilegrid/TileGrid.js").default): (arg0: import("./extent.js").Extent, arg1: number, arg2: import("./proj.js").Projection) => Array;
//# sourceMappingURL=loadingstrategy.d.ts.map