UNPKG

984 BTypeScriptView Raw
1import { VectorSource, RasterSource, GeoJSONSource, GeoJSONSourceRaw, RasterDemSource, ImageSource, VideoSource, CanvasSource, Point } from 'mapbox-gl';
2export interface AnchorOffsetLimits {
3 'top-left': Point;
4 'top-right': Point;
5 'bottom-left': Point;
6 'bottom-right': Point;
7}
8export interface AnchorsOffset extends AnchorOffsetLimits {
9 center: Point;
10 top: Point;
11 bottom: Point;
12 left: Point;
13 right: Point;
14}
15export declare type Anchor = keyof AnchorsOffset;
16export declare type AnchorLimits = keyof AnchorOffsetLimits;
17export declare type Sources = VectorSource | RasterSource | GeoJSONSource | GeoJSONSourceRaw | ImageSource | VideoSource | CanvasSource | RasterDemSource;
18export declare type TilesJson = VectorSource | RasterSource;
19export declare type LayerType = 'fill' | 'line' | 'symbol' | 'circle' | 'fill-extrusion' | 'raster' | 'background';
20export declare type AnyShapeCoordinates = number[] | number[][] | number[][][] | number[][][][];