UNPKG

heli-agri

Version:

HeliAgri is a high-performance, feature-packed library for creating interactive maps on the web. It can display map tiles, vector data and markers loaded from any source on any web page. OpenLayers has been developed to further the use of geographic infor

25 lines (24 loc) 1.25 kB
/** * Strategy function for loading all features with a single request. * @param {import("./extent.js").Extent} extent Extent. * @param {number} resolution Resolution. * @return {Array<import("./extent.js").Extent>} Extents. * @api */ export function all(extent: import("./extent.js").Extent, resolution: number): Array<import("./extent.js").Extent>; /** * 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<import("./extent.js").Extent>} Extents. * @api */ export function bbox(extent: import("./extent.js").Extent, resolution: number): Array<import("./extent.js").Extent>; /** * 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<import("./extent.js").Extent>} 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<import("./extent.js").Extent>;