UNPKG

550 BTypeScriptView Raw
1import { Extent } from './extent';
2import TileGrid from './tilegrid/TileGrid';
3
4/**
5 * Strategy function for loading all features with a single request.
6 */
7export function all(extent: Extent, resolution: number): Extent[];
8/**
9 * Strategy function for loading features based on the view's extent and
10 * resolution.
11 */
12export function bbox(extent: Extent, resolution: number): Extent[];
13/**
14 * Creates a strategy function for loading features based on a tile grid.
15 */
16export function tile(tileGrid: TileGrid): (p0: Extent, p1: number) => Extent[];