Files
DefinitelyTyped/types/ol/featureloader.d.ts
Rifa'i M. Hanif 1dcb8e6da3 [@types/ol] Update to openlayers 5.3 (#35445)
* [@types/ol] Update to openlayers 5.3

* [@types/ol] fix case sensitive

* [@types/ol] fix case sensitive
2019-05-24 13:42:05 -07:00

10 lines
729 B
TypeScript

import { Extent } from 'ol/extent';
import FeatureFormat from 'ol/format/Feature';
import Projection from 'ol/proj/Projection';
import VectorSource from 'ol/source/Vector';
import VectorTile from 'ol/VectorTile';
export function loadFeaturesXhr(url: string | FeatureUrlFunction, format: FeatureFormat, success: (() => void) | (() => void), failure: ((this: VectorSource) => void) | (() => void)): FeatureLoader;
export function xhr(url: string | FeatureUrlFunction, format: FeatureFormat): FeatureLoader;
export type FeatureLoader = ((this: VectorSource | VectorTile, param1: Extent, param2: number, param3: Projection) => void);
export type FeatureUrlFunction = ((param0: Extent, param1: number, param2: Projection) => string);