mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-05-29 15:44:31 +00:00
* [@types/ol] Update to openlayers 5.3 * [@types/ol] fix case sensitive * [@types/ol] fix case sensitive
10 lines
729 B
TypeScript
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);
|