olamaps-web-sdk 1.1.4 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/OlaMaps-CyKBhQoC.js +33122 -0
- package/dist/index.d.ts +513 -338
- package/dist/index.js +156 -54471
- package/dist/maplibre-gl-BIFSxk4Y.js +23979 -0
- package/dist/olamaps-web-sdk.umd.js +207 -167
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,142 +1,229 @@
|
|
|
1
|
+
import { AlphaImage } from 'maplibre-gl';
|
|
2
|
+
import { AroundCenterOptions } from 'maplibre-gl';
|
|
3
|
+
import { BackgroundLayerSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
4
|
+
import { BBox } from 'geojson';
|
|
5
|
+
import { BooleanTypeT } from '@maplibre/maplibre-gl-style-spec';
|
|
6
|
+
import { Bucket } from 'maplibre-gl';
|
|
7
|
+
import { CalculateTileZoomFunction } from 'maplibre-gl';
|
|
8
|
+
import { CameraExpression } from '@maplibre/maplibre-gl-style-spec';
|
|
9
|
+
import { CameraForBoundsOptions } from 'maplibre-gl';
|
|
10
|
+
import { CameraFunctionSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
11
|
+
import { CameraUpdateTransformFunction } from 'maplibre-gl';
|
|
12
|
+
import { CanonicalTileRange } from 'maplibre-gl';
|
|
13
|
+
import { CanvasSourceSpecification } from 'maplibre-gl';
|
|
14
|
+
import { CenterZoomBearing } from 'maplibre-gl';
|
|
15
|
+
import { CircleLayerSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
16
|
+
import { CollatorExpressionSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
17
|
+
import { CollatorTypeT } from '@maplibre/maplibre-gl-style-spec';
|
|
18
|
+
import { Color } from '@maplibre/maplibre-gl-style-spec';
|
|
19
|
+
import { ColorArray } from '@maplibre/maplibre-gl-style-spec';
|
|
20
|
+
import { ColorArraySpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
21
|
+
import { ColorArrayTypeT } from '@maplibre/maplibre-gl-style-spec';
|
|
22
|
+
import { ColorReliefLayerSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
23
|
+
import { ColorSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
24
|
+
import { ColorTypeT } from '@maplibre/maplibre-gl-style-spec';
|
|
25
|
+
import { CompositeExpression } from '@maplibre/maplibre-gl-style-spec';
|
|
26
|
+
import { CompositeFunctionSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
27
|
+
import { ConstantExpression } from '@maplibre/maplibre-gl-style-spec';
|
|
28
|
+
import { ControlPosition } from 'maplibre-gl';
|
|
29
|
+
import { Coordinates } from 'maplibre-gl';
|
|
30
|
+
import { CoveringTilesOptions } from 'maplibre-gl';
|
|
31
|
+
import { CreateTileMeshOptions } from 'maplibre-gl';
|
|
32
|
+
import { CustomLayerInterface } from 'maplibre-gl';
|
|
33
|
+
import { CustomRenderMethod } from 'maplibre-gl';
|
|
34
|
+
import { CustomRenderMethodInput } from 'maplibre-gl';
|
|
35
|
+
import { DashEntry } from 'maplibre-gl';
|
|
36
|
+
import { DataDrivenPropertyValueSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
37
|
+
import { Definition } from '@maplibre/maplibre-gl-style-spec';
|
|
38
|
+
import { DiffOperations } from '@maplibre/maplibre-gl-style-spec';
|
|
39
|
+
import { DiffOperationsMap } from '@maplibre/maplibre-gl-style-spec';
|
|
40
|
+
import { Dispatcher } from 'maplibre-gl';
|
|
41
|
+
import { DragPanOptions } from 'maplibre-gl';
|
|
42
|
+
import { ErrorTypeT } from '@maplibre/maplibre-gl-style-spec';
|
|
43
|
+
import { EvaluationContext } from '@maplibre/maplibre-gl-style-spec';
|
|
44
|
+
import { EvaluationKind } from '@maplibre/maplibre-gl-style-spec';
|
|
45
|
+
import { ExpectedTypes } from '@maplibre/maplibre-gl-style-spec';
|
|
46
|
+
import { ExpiryData } from 'maplibre-gl';
|
|
47
|
+
import { Expression } from '@maplibre/maplibre-gl-style-spec';
|
|
48
|
+
import { ExpressionFilterSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
49
|
+
import { ExpressionInputType } from '@maplibre/maplibre-gl-style-spec';
|
|
50
|
+
import { ExpressionParser } from '@maplibre/maplibre-gl-style-spec';
|
|
51
|
+
import { ExpressionRegistration } from '@maplibre/maplibre-gl-style-spec';
|
|
52
|
+
import { ExpressionRegistry } from '@maplibre/maplibre-gl-style-spec';
|
|
53
|
+
import { ExpressionSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
54
|
+
import { ExpressionSpecificationDefinition } from '@maplibre/maplibre-gl-style-spec';
|
|
55
|
+
import { ExpressionType } from '@maplibre/maplibre-gl-style-spec';
|
|
56
|
+
import { Feature } from '@maplibre/maplibre-gl-style-spec';
|
|
57
|
+
import { FeatureCollection } from 'geojson';
|
|
58
|
+
import { FeatureFilter } from '@maplibre/maplibre-gl-style-spec';
|
|
59
|
+
import { FeatureIdentifier } from 'maplibre-gl';
|
|
60
|
+
import { FeatureIndex } from 'maplibre-gl';
|
|
61
|
+
import { FeatureState } from '@maplibre/maplibre-gl-style-spec';
|
|
62
|
+
import { FillExtrusionLayerSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
63
|
+
import { FillLayerSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
64
|
+
import { FilterExpression } from '@maplibre/maplibre-gl-style-spec';
|
|
65
|
+
import { FilterSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
66
|
+
import { Formatted } from '@maplibre/maplibre-gl-style-spec';
|
|
67
|
+
import { FormattedSection } from '@maplibre/maplibre-gl-style-spec';
|
|
68
|
+
import { FormattedSectionExpression } from '@maplibre/maplibre-gl-style-spec';
|
|
69
|
+
import { FormattedSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
70
|
+
import { FormattedTypeT } from '@maplibre/maplibre-gl-style-spec';
|
|
71
|
+
import { GeoJSON as GeoJSON_2 } from 'geojson';
|
|
72
|
+
import { GeoJSONFeature } from 'maplibre-gl';
|
|
73
|
+
import { GeoJSONFeatureDiff } from 'maplibre-gl';
|
|
74
|
+
import { GeoJSONFeatureId } from 'maplibre-gl';
|
|
75
|
+
import { GeoJsonGeometryTypes } from 'geojson';
|
|
76
|
+
import { GeoJsonObject } from 'geojson';
|
|
77
|
+
import { GeoJsonProperties } from 'geojson';
|
|
78
|
+
import { GeoJSONSourceDiff } from 'maplibre-gl';
|
|
79
|
+
import { GeoJSONSourceSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
80
|
+
import { GeoJsonTypes } from 'geojson';
|
|
81
|
+
import { Geometry } from 'geojson';
|
|
82
|
+
import { GeometryCollection } from 'geojson';
|
|
83
|
+
import { GeometryObject } from 'geojson';
|
|
84
|
+
import { GestureOptions } from 'maplibre-gl';
|
|
85
|
+
import { GlyphPosition } from 'maplibre-gl';
|
|
86
|
+
import { GlyphPositions } from 'maplibre-gl';
|
|
87
|
+
import { Handler } from 'maplibre-gl';
|
|
88
|
+
import { HandlerResult } from 'maplibre-gl';
|
|
89
|
+
import { HCLColor } from '@maplibre/maplibre-gl-style-spec';
|
|
90
|
+
import { HeatmapLayerSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
91
|
+
import { HillshadeLayerSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
92
|
+
import { IActor } from 'maplibre-gl';
|
|
93
|
+
import { ICanonicalTileID } from '@maplibre/maplibre-gl-style-spec';
|
|
94
|
+
import { ILngLat } from '@maplibre/maplibre-gl-style-spec';
|
|
95
|
+
import { ILngLatLike } from '@maplibre/maplibre-gl-style-spec';
|
|
96
|
+
import { ImageAtlas } from 'maplibre-gl';
|
|
97
|
+
import { ImageSourceSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
98
|
+
import { IMercatorCoordinate } from '@maplibre/maplibre-gl-style-spec';
|
|
99
|
+
import { IndicesType } from 'maplibre-gl';
|
|
100
|
+
import { InterpolationColorSpace } from '@maplibre/maplibre-gl-style-spec';
|
|
101
|
+
import { InterpolationSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
102
|
+
import { InterpolationType } from '@maplibre/maplibre-gl-style-spec';
|
|
103
|
+
import { LABColor } from '@maplibre/maplibre-gl-style-spec';
|
|
104
|
+
import { LayerWithRef } from '@maplibre/maplibre-gl-style-spec';
|
|
105
|
+
import { LegacyFilterSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
106
|
+
import { LightSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
107
|
+
import { LineLayerSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
108
|
+
import { LineString } from 'geojson';
|
|
109
|
+
import { Listener } from 'maplibre-gl';
|
|
110
|
+
import { LngLatBoundsLike } from 'maplibre-gl';
|
|
111
|
+
import { LngLatLike } from 'maplibre-gl';
|
|
112
|
+
import { MapContextEvent } from 'maplibre-gl';
|
|
113
|
+
import { MapDataEvent } from 'maplibre-gl';
|
|
114
|
+
import { MapEventType } from 'maplibre-gl';
|
|
115
|
+
import { MapGeoJSONFeature } from 'maplibre-gl';
|
|
116
|
+
import { MapLayerEventType } from 'maplibre-gl';
|
|
117
|
+
import { MapLayerMouseEvent } from 'maplibre-gl';
|
|
118
|
+
import { MapLayerTouchEvent } from 'maplibre-gl';
|
|
119
|
+
import { MapLibreZoomEvent } from 'maplibre-gl';
|
|
120
|
+
import { MapProjectionEvent } from 'maplibre-gl';
|
|
121
|
+
import { MapSourceDataEvent } from 'maplibre-gl';
|
|
122
|
+
import { MapSourceDataType } from 'maplibre-gl';
|
|
123
|
+
import { MapStyleDataEvent } from 'maplibre-gl';
|
|
124
|
+
import { MapStyleImageMissingEvent } from 'maplibre-gl';
|
|
125
|
+
import { MapTerrainEvent } from 'maplibre-gl';
|
|
126
|
+
import { MessageType } from 'maplibre-gl';
|
|
127
|
+
import { MultiLineString } from 'geojson';
|
|
128
|
+
import { MultiPoint } from 'geojson';
|
|
129
|
+
import { MultiPolygon } from 'geojson';
|
|
130
|
+
import { NullTypeT } from '@maplibre/maplibre-gl-style-spec';
|
|
131
|
+
import { NumberArray } from '@maplibre/maplibre-gl-style-spec';
|
|
132
|
+
import { NumberArraySpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
133
|
+
import { NumberArrayTypeT } from '@maplibre/maplibre-gl-style-spec';
|
|
134
|
+
import { NumberTypeT } from '@maplibre/maplibre-gl-style-spec';
|
|
135
|
+
import { ObjectTypeT } from '@maplibre/maplibre-gl-style-spec';
|
|
1
136
|
import * as OlaMapsGl from 'maplibre-gl';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
137
|
+
import { OverscaledTileID } from 'maplibre-gl';
|
|
138
|
+
import { Padding } from '@maplibre/maplibre-gl-style-spec';
|
|
139
|
+
import { PaddingSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
140
|
+
import { PaddingTypeT } from '@maplibre/maplibre-gl-style-spec';
|
|
141
|
+
import { ParsingError } from '@maplibre/maplibre-gl-style-spec';
|
|
142
|
+
import { Point } from 'geojson';
|
|
143
|
+
import { Point2D } from '@maplibre/maplibre-gl-style-spec';
|
|
144
|
+
import { PointLike } from 'maplibre-gl';
|
|
145
|
+
import { Polygon } from 'geojson';
|
|
146
|
+
import { Position } from 'geojson';
|
|
147
|
+
import { ProjectionData } from 'maplibre-gl';
|
|
148
|
+
import { ProjectionDefinition } from '@maplibre/maplibre-gl-style-spec';
|
|
149
|
+
import { ProjectionDefinitionT } from '@maplibre/maplibre-gl-style-spec';
|
|
150
|
+
import { ProjectionDefinitionTypeT } from '@maplibre/maplibre-gl-style-spec';
|
|
151
|
+
import { ProjectionSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
152
|
+
import { PromoteIdSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
153
|
+
import { PropertyCallback } from '@maplibre/maplibre-gl-style-spec';
|
|
154
|
+
import { PropertyValueSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
155
|
+
import { QueryRenderedFeaturesOptions } from 'maplibre-gl';
|
|
156
|
+
import { QuerySourceFeatureOptions } from 'maplibre-gl';
|
|
157
|
+
import { RasterDEMSourceSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
158
|
+
import { RasterLayerSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
159
|
+
import { RasterSourceSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
160
|
+
import { RequestParameters } from 'maplibre-gl';
|
|
161
|
+
import { RequestResponseMessageMap } from 'maplibre-gl';
|
|
162
|
+
import { RequestTransformFunction } from 'maplibre-gl';
|
|
163
|
+
import { ResolvedImage } from '@maplibre/maplibre-gl-style-spec';
|
|
164
|
+
import { ResolvedImageOptions } from '@maplibre/maplibre-gl-style-spec';
|
|
165
|
+
import { ResolvedImageSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
166
|
+
import { ResolvedImageTypeT } from '@maplibre/maplibre-gl-style-spec';
|
|
167
|
+
import { ResourceType } from 'maplibre-gl';
|
|
168
|
+
import { RGBColor } from '@maplibre/maplibre-gl-style-spec';
|
|
169
|
+
import { SchemaSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
170
|
+
import { SetClusterOptions } from 'maplibre-gl';
|
|
171
|
+
import { SkySpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
172
|
+
import { Source } from 'maplibre-gl';
|
|
173
|
+
import { SourceClass } from 'maplibre-gl';
|
|
174
|
+
import { SourceExpression } from '@maplibre/maplibre-gl-style-spec';
|
|
175
|
+
import { SourceFunctionSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
176
|
+
import { SpriteSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
177
|
+
import { StringTypeT } from '@maplibre/maplibre-gl-style-spec';
|
|
178
|
+
import { StyleExpression } from '@maplibre/maplibre-gl-style-spec';
|
|
179
|
+
import { StyleGlyph } from 'maplibre-gl';
|
|
180
|
+
import { StyleImage } from 'maplibre-gl';
|
|
181
|
+
import { StyleImageData } from 'maplibre-gl';
|
|
182
|
+
import { StyleImageInterface } from 'maplibre-gl';
|
|
183
|
+
import { StyleImageMetadata } from 'maplibre-gl';
|
|
184
|
+
import { StyleOptions } from 'maplibre-gl';
|
|
185
|
+
import { StylePropertyExpression } from '@maplibre/maplibre-gl-style-spec';
|
|
186
|
+
import { StylePropertySpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
187
|
+
import { StyleSetterOptions } from 'maplibre-gl';
|
|
188
|
+
import { StyleSwapOptions } from 'maplibre-gl';
|
|
189
|
+
import { Subscription } from 'maplibre-gl';
|
|
190
|
+
import { SymbolLayerSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
191
|
+
import { TerrainSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
192
|
+
import { TextFit } from 'maplibre-gl';
|
|
193
|
+
import { Tile } from 'maplibre-gl';
|
|
194
|
+
import { TileMesh } from 'maplibre-gl';
|
|
195
|
+
import { TransformConstrainFunction } from 'maplibre-gl';
|
|
196
|
+
import { TransformStyleFunction } from 'maplibre-gl';
|
|
197
|
+
import { TransitionSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
198
|
+
import { Type } from '@maplibre/maplibre-gl-style-spec';
|
|
199
|
+
import { Unit } from 'maplibre-gl';
|
|
200
|
+
import { UpdateImageOptions } from 'maplibre-gl';
|
|
201
|
+
import { ValidationError } from '@maplibre/maplibre-gl-style-spec';
|
|
202
|
+
import { ValueTypeT } from '@maplibre/maplibre-gl-style-spec';
|
|
203
|
+
import { Varargs } from '@maplibre/maplibre-gl-style-spec';
|
|
204
|
+
import { VariableAnchorOffsetCollection } from '@maplibre/maplibre-gl-style-spec';
|
|
205
|
+
import { VariableAnchorOffsetCollectionTypeT } from '@maplibre/maplibre-gl-style-spec';
|
|
206
|
+
import { VectorSourceSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
207
|
+
import { VerticalAlign } from '@maplibre/maplibre-gl-style-spec';
|
|
208
|
+
import { VideoSourceSpecification } from '@maplibre/maplibre-gl-style-spec';
|
|
209
|
+
import { WebGLContextAttributesWithType } from 'maplibre-gl';
|
|
210
|
+
import { WorkerTileResult } from 'maplibre-gl';
|
|
20
211
|
|
|
21
212
|
export declare const default3dTIleset = "https://api.olamaps.io/tiles/vector/v1/3dtiles/tileset.json";
|
|
22
213
|
|
|
23
214
|
export declare const defaultStyleJson = "https://api.olamaps.io/tiles/vector/v1/styles/default-light-standard/style.json?key=0.4.0";
|
|
24
215
|
|
|
25
|
-
export declare type ErrorLike = OlaMaps.ErrorLike;
|
|
26
|
-
|
|
27
|
-
export declare type Feature = OlaMaps.Feature;
|
|
28
|
-
|
|
29
|
-
export declare type FeatureCollection = OlaMaps.FeatureCollection;
|
|
30
|
-
|
|
31
|
-
export declare type FeatureIdentifier = OlaMaps.FeatureIdentifier;
|
|
32
|
-
|
|
33
|
-
export declare type FeatureStates = OlaMaps.FeatureStates;
|
|
34
|
-
|
|
35
|
-
export declare type FullscreenControl = OlaMaps.FullscreenControl;
|
|
36
|
-
|
|
37
|
-
export declare type FullscreenControlOptions = OlaMaps.FullscreenControlOptions;
|
|
38
|
-
|
|
39
|
-
declare type GeoJSON_2 = OlaMaps.GeoJSON;
|
|
40
|
-
export { GeoJSON_2 as GeoJSON }
|
|
41
|
-
|
|
42
|
-
export declare type GeoJSONFeature = OlaMaps.GeoJSONFeature;
|
|
43
|
-
|
|
44
|
-
export declare type GeoJSONFeatureId = OlaMaps.GeoJSONFeatureId;
|
|
45
|
-
|
|
46
|
-
export declare type GeoJSONPoint = OlaMaps.GeoJSONPoint;
|
|
47
|
-
|
|
48
|
-
export declare type GeoJsonProperties = OlaMaps.GeoJsonProperties;
|
|
49
|
-
|
|
50
|
-
export declare type GeoJSONSource = OlaMaps.GeoJSONSource;
|
|
51
|
-
|
|
52
|
-
export declare type GeoJSONSourceDiff = OlaMaps.GeoJSONSourceDiff;
|
|
53
|
-
|
|
54
|
-
export declare type GeoJSONSourceOptions = OlaMaps.GeoJSONSourceOptions;
|
|
55
|
-
|
|
56
|
-
export declare type GeolocateControl = OlaMaps.GeolocateControl;
|
|
57
|
-
|
|
58
|
-
export declare type GeolocateControlOptions = OlaMaps.GeolocateControlOptions;
|
|
59
|
-
|
|
60
|
-
export declare type Geometry = OlaMaps.Geometry;
|
|
61
|
-
|
|
62
|
-
export declare type GeometryCollection = OlaMaps.GeometryCollection;
|
|
63
|
-
|
|
64
216
|
export declare const getCookie: (name: string) => string;
|
|
65
217
|
|
|
66
218
|
export declare const getOlaMapIcon: (oemColor: string) => string;
|
|
67
219
|
|
|
68
|
-
export declare type GetResourceResponse<T> = OlaMaps.GetResourceResponse<T>;
|
|
69
|
-
|
|
70
|
-
export declare type IControl = OlaMaps.IControl;
|
|
71
|
-
|
|
72
|
-
export declare type ImageSource = OlaMaps.ImageSource;
|
|
73
|
-
|
|
74
|
-
export declare type LayerSpecification = OlaMaps.LayerSpecification;
|
|
75
|
-
|
|
76
|
-
export declare type LineString = OlaMaps.LineString;
|
|
77
|
-
|
|
78
|
-
export declare type LngLat = OlaMaps.LngLat;
|
|
79
|
-
|
|
80
|
-
export declare type LngLatBounds = OlaMaps.LngLatBounds;
|
|
81
|
-
|
|
82
|
-
export declare type LngLatLike = OlaMaps.LngLatLike;
|
|
83
|
-
|
|
84
|
-
declare type Map_2 = OlaMaps.Map;
|
|
85
|
-
export { Map_2 as Map }
|
|
86
|
-
|
|
87
|
-
export declare type MapDataEvent = OlaMaps.MapDataEvent;
|
|
88
|
-
|
|
89
|
-
export declare type MapEventType = OlaMaps.MapEventType;
|
|
90
|
-
|
|
91
|
-
export declare type MapGeoJSONFeature = OlaMaps.MapGeoJSONFeature;
|
|
92
|
-
|
|
93
|
-
export declare type MapLayerMouseEvent = OlaMaps.MapLayerMouseEvent;
|
|
94
|
-
|
|
95
|
-
export declare type MapLayerTouchEvent = OlaMaps.MapLayerTouchEvent;
|
|
96
|
-
|
|
97
|
-
declare type MapMethods = {
|
|
98
|
-
[key: string]: any;
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
export declare type MapMouseEvent = OlaMaps.MapMouseEvent;
|
|
102
|
-
|
|
103
|
-
export declare type MapOptions = OlaMaps.MapOptions;
|
|
104
|
-
|
|
105
|
-
export declare type MapProjectionEvent = OlaMaps.MapProjectionEvent;
|
|
106
|
-
|
|
107
|
-
export declare type MapSourceDataEvent = OlaMaps.MapSourceDataEvent;
|
|
108
|
-
|
|
109
220
|
declare interface MapStyle {
|
|
110
221
|
id: string;
|
|
111
222
|
styleJson: string;
|
|
112
223
|
}
|
|
113
224
|
|
|
114
|
-
export declare type MapStyleDataEvent = OlaMaps.MapStyleDataEvent;
|
|
115
|
-
|
|
116
225
|
export declare type mapStyleIds = "bolt-dark" | "bolt-light" | "eclipse-dark-lite" | "eclipse-dark-standard" | "eclipse-dark-full" | "eclipse-light-lite" | "eclipse-light-standard" | "eclipse-light-full" | "vintage-dark" | "vintage-light" | "positron" | "osm-bright" | "osm-basic" | "dark-matter" | "fiord-color" | "default-light-lite" | "default-light-standard" | "default-ultra-light-standard" | "default-light-standard-hi" | "default-light-standard-kn" | "default-light-standard-mr" | "default-light-standard-te" | "default-light-standard-ta" | "default-light-standard-ml" | "default-light-standard-regional" | "default-light-full" | "default-dark-lite" | "default-dark-standard" | "default-dark-standard-hi" | "default-dark-standard-mr" | "default-dark-standard-kn" | "default-dark-standard-ta" | "default-dark-standard-te" | "default-dark-standard-ride-stat" | "default-dark-full" | "default-earth-lite" | "default-earth-standard" | "default-earth-full" | "silver-osm";
|
|
117
226
|
|
|
118
|
-
export declare type MapTerrainEvent = OlaMaps.MapTerrainEvent;
|
|
119
|
-
|
|
120
|
-
export declare type MapTouchEvent = OlaMaps.MapTouchEvent;
|
|
121
|
-
|
|
122
|
-
export declare type MapWheelEvent = OlaMaps.MapWheelEvent;
|
|
123
|
-
|
|
124
|
-
export declare type Marker = OlaMaps.Marker;
|
|
125
|
-
|
|
126
|
-
export declare type MarkerOptions = OlaMaps.MarkerOptions;
|
|
127
|
-
|
|
128
|
-
export declare type MercatorCoordinate = OlaMaps.MercatorCoordinate;
|
|
129
|
-
|
|
130
|
-
export declare type MultiLineString = OlaMaps.MultiLineString;
|
|
131
|
-
|
|
132
|
-
export declare type MultiPoint = OlaMaps.MultiPoint;
|
|
133
|
-
|
|
134
|
-
export declare type MultiPolygon = OlaMaps.MultiPolygon;
|
|
135
|
-
|
|
136
|
-
export declare type NavigationControl = OlaMaps.NavigationControl;
|
|
137
|
-
|
|
138
|
-
export declare type NavigationControlOptions = OlaMaps.NavigationControlOptions;
|
|
139
|
-
|
|
140
227
|
declare interface olaMapProps {
|
|
141
228
|
apiKey: string;
|
|
142
229
|
mode?: string;
|
|
@@ -145,42 +232,70 @@ declare interface olaMapProps {
|
|
|
145
232
|
}
|
|
146
233
|
|
|
147
234
|
export declare class OlaMaps {
|
|
148
|
-
private olaMaps;
|
|
149
235
|
private apiKey;
|
|
150
236
|
private accessToken;
|
|
151
237
|
mode: string;
|
|
152
238
|
private threedTileset;
|
|
153
|
-
|
|
154
|
-
static Popup: typeof OlaMapsGl.Popup;
|
|
155
|
-
static NavigationControl: typeof OlaMapsGl.NavigationControl;
|
|
156
|
-
static GeolocateControl: typeof OlaMapsGl.GeolocateControl;
|
|
157
|
-
static ScaleControl: typeof OlaMapsGl.ScaleControl;
|
|
158
|
-
static FullscreenControl: typeof OlaMapsGl.FullscreenControl;
|
|
159
|
-
static AttributionControl: typeof OlaMapsGl.AttributionControl;
|
|
160
|
-
static TerrainControl: typeof OlaMapsGl.TerrainControl;
|
|
161
|
-
static LngLat: typeof OlaMapsGl.LngLat;
|
|
162
|
-
static LngLatBounds: typeof OlaMapsGl.LngLatBounds;
|
|
163
|
-
static Point: typeof OlaMapsGl.Point;
|
|
164
|
-
static MercatorCoordinate: typeof OlaMapsGl.MercatorCoordinate;
|
|
165
|
-
static MapMouseEvent: typeof OlaMapsGl.MapMouseEvent;
|
|
166
|
-
static MapTouchEvent: typeof OlaMapsGl.MapTouchEvent;
|
|
167
|
-
static MapWheelEvent: typeof OlaMapsGl.MapWheelEvent;
|
|
168
|
-
static AJAXError: typeof OlaMapsGl.AJAXError;
|
|
239
|
+
private olaMaps;
|
|
169
240
|
constructor({ apiKey, accessToken, mode, threedTileset }: olaMapProps);
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
addGeolocateControls(options: OlaMapsGl.GeolocateControlOptions): OlaMapsGl.GeolocateControl;
|
|
177
|
-
getMercatorCoordinate(): typeof OlaMapsGl.MercatorCoordinate;
|
|
178
|
-
addMarker(options?: OlaMapsGl.MarkerOptions): OlaMapsGl.Marker;
|
|
179
|
-
addPopup(options?: OlaMapsGl.PopupOptions): OlaMapsGl.Popup;
|
|
241
|
+
init(options?: any): Promise<any>;
|
|
242
|
+
addNavigationControls(options?: any): any;
|
|
243
|
+
addGeolocateControls(options: any): any;
|
|
244
|
+
getMercatorCoordinate(): any;
|
|
245
|
+
addMarker(options?: any): any;
|
|
246
|
+
addPopup(options?: any): any;
|
|
180
247
|
getStaticMap(url: string, elementID: string): void;
|
|
248
|
+
private fetchStaticMap;
|
|
249
|
+
private static _marker;
|
|
250
|
+
private static _popup;
|
|
251
|
+
private static _navigationControl;
|
|
252
|
+
private static _geolocateControl;
|
|
253
|
+
private static _scaleControl;
|
|
254
|
+
private static _fullscreenControl;
|
|
255
|
+
private static _attributionControl;
|
|
256
|
+
private static _terrainControl;
|
|
257
|
+
private static _lngLat;
|
|
258
|
+
private static _lngLatBounds;
|
|
259
|
+
private static _point;
|
|
260
|
+
private static _mercatorCoordinate;
|
|
261
|
+
private static _mapMouseEvent;
|
|
262
|
+
private static _mapTouchEvent;
|
|
263
|
+
private static _mapWheelEvent;
|
|
264
|
+
private static _ajaxError;
|
|
265
|
+
static get Marker(): any;
|
|
266
|
+
static get Popup(): any;
|
|
267
|
+
static get NavigationControl(): any;
|
|
268
|
+
static get GeolocateControl(): any;
|
|
269
|
+
static get ScaleControl(): any;
|
|
270
|
+
private static createMockConstructor;
|
|
271
|
+
static get FullscreenControl(): any;
|
|
272
|
+
static get AttributionControl(): any;
|
|
273
|
+
static get TerrainControl(): any;
|
|
274
|
+
static get LngLat(): any;
|
|
275
|
+
static get LngLatBounds(): any;
|
|
276
|
+
static get Point(): any;
|
|
277
|
+
static get MercatorCoordinate(): any;
|
|
278
|
+
static get MapMouseEvent(): any;
|
|
279
|
+
static get MapTouchEvent(): any;
|
|
280
|
+
static get MapWheelEvent(): any;
|
|
281
|
+
static get AJAXError(): any;
|
|
282
|
+
private static initializeStaticProperties;
|
|
181
283
|
}
|
|
182
284
|
|
|
183
|
-
export declare
|
|
285
|
+
export declare type OlaMapStyle = MapStyle[];
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* OlaMapsWeb namespace - Contains ONLY type definitions for MapLibre GL components
|
|
289
|
+
*
|
|
290
|
+
* Usage:
|
|
291
|
+
* ```typescript
|
|
292
|
+
* // Use for TypeScript type annotations
|
|
293
|
+
* const marker: OlaMapsWeb.Marker = new OlaMaps.Marker();
|
|
294
|
+
* const map: OlaMapsWeb.Map = await olaMaps.init();
|
|
295
|
+
* const options: OlaMapsWeb.NavigationControlOptions = { showCompass: true };
|
|
296
|
+
* ```
|
|
297
|
+
*/
|
|
298
|
+
export declare namespace OlaMapsWeb {
|
|
184
299
|
export type Marker = OlaMapsGl.Marker;
|
|
185
300
|
export type Popup = OlaMapsGl.Popup;
|
|
186
301
|
export type NavigationControl = OlaMapsGl.NavigationControl;
|
|
@@ -189,6 +304,9 @@ export declare namespace OlaMaps {
|
|
|
189
304
|
export type FullscreenControl = OlaMapsGl.FullscreenControl;
|
|
190
305
|
export type AttributionControl = OlaMapsGl.AttributionControl;
|
|
191
306
|
export type TerrainControl = OlaMapsGl.TerrainControl;
|
|
307
|
+
export type LogoControl = OlaMapsGl.LogoControl;
|
|
308
|
+
export type GlobeControl = OlaMapsGl.GlobeControl;
|
|
309
|
+
export type IControl = OlaMapsGl.IControl;
|
|
192
310
|
export type Map = OlaMapsGl.Map;
|
|
193
311
|
export type MapOptions = OlaMapsGl.MapOptions;
|
|
194
312
|
export type MarkerOptions = OlaMapsGl.MarkerOptions;
|
|
@@ -198,205 +316,262 @@ export declare namespace OlaMaps {
|
|
|
198
316
|
export type ScaleControlOptions = OlaMapsGl.ScaleControlOptions;
|
|
199
317
|
export type FullscreenControlOptions = OlaMapsGl.FullscreenControlOptions;
|
|
200
318
|
export type AttributionControlOptions = OlaMapsGl.AttributionControlOptions;
|
|
201
|
-
export type
|
|
202
|
-
export type
|
|
203
|
-
export type
|
|
204
|
-
export type
|
|
205
|
-
export type
|
|
206
|
-
export type
|
|
319
|
+
export type LogoControlOptions = OlaMapsGl.LogoControlOptions;
|
|
320
|
+
export type LngLat = OlaMapsGl.LngLat;
|
|
321
|
+
export type LngLatBounds = OlaMapsGl.LngLatBounds;
|
|
322
|
+
export type Point = OlaMapsGl.Point;
|
|
323
|
+
export type MercatorCoordinate = OlaMapsGl.MercatorCoordinate;
|
|
324
|
+
export type EdgeInsets = OlaMapsGl.EdgeInsets;
|
|
325
|
+
export type PaddingOptions = OlaMapsGl.PaddingOptions;
|
|
326
|
+
export type Offset = OlaMapsGl.Offset;
|
|
327
|
+
export type Alignment = OlaMapsGl.Alignment;
|
|
328
|
+
export type PositionAnchor = OlaMapsGl.PositionAnchor;
|
|
207
329
|
export type GeoJSONSource = OlaMapsGl.GeoJSONSource;
|
|
208
|
-
export type GeoJSONSourceOptions = OlaMapsGl.GeoJSONSourceOptions;
|
|
209
|
-
export type GeoJSONSourceDiff = OlaMapsGl.GeoJSONSourceDiff;
|
|
210
|
-
export type GeoJSONFeatureId = OlaMapsGl.GeoJSONFeatureId;
|
|
211
330
|
export type VectorTileSource = OlaMapsGl.VectorTileSource;
|
|
212
331
|
export type RasterTileSource = OlaMapsGl.RasterTileSource;
|
|
332
|
+
export type RasterDEMTileSource = OlaMapsGl.RasterDEMTileSource;
|
|
213
333
|
export type ImageSource = OlaMapsGl.ImageSource;
|
|
214
|
-
export type CanvasSource = OlaMapsGl.CanvasSource;
|
|
215
334
|
export type VideoSource = OlaMapsGl.VideoSource;
|
|
216
|
-
export type
|
|
217
|
-
export type LngLatLike = OlaMapsGl.LngLatLike;
|
|
218
|
-
export type LngLatBounds = OlaMapsGl.LngLatBounds;
|
|
219
|
-
export type Point = OlaMapsGl.Point;
|
|
220
|
-
export type MercatorCoordinate = OlaMapsGl.MercatorCoordinate;
|
|
221
|
-
export type Coordinates = OlaMapsGl.Coordinates;
|
|
222
|
-
export type Feature = OlaMapsGl.Feature;
|
|
223
|
-
export type MapGeoJSONFeature = OlaMapsGl.MapGeoJSONFeature;
|
|
224
|
-
export type GeoJSONFeature = OlaMapsGl.GeoJSONFeature;
|
|
225
|
-
export type FeatureStates = OlaMapsGl.FeatureStates;
|
|
226
|
-
export type FeatureIdentifier = OlaMapsGl.FeatureIdentifier;
|
|
227
|
-
export type GeoJSON = GeoJSON.GeoJSON;
|
|
228
|
-
export type Geometry = GeoJSON.Geometry;
|
|
229
|
-
export type GeometryCollection = GeoJSON.GeometryCollection;
|
|
230
|
-
export type GeoJSONPoint = GeoJSON.Point;
|
|
231
|
-
export type MultiPoint = GeoJSON.MultiPoint;
|
|
232
|
-
export type LineString = GeoJSON.LineString;
|
|
233
|
-
export type MultiLineString = GeoJSON.MultiLineString;
|
|
234
|
-
export type Polygon = GeoJSON.Polygon;
|
|
235
|
-
export type MultiPolygon = GeoJSON.MultiPolygon;
|
|
236
|
-
export type FeatureCollection = GeoJSON.FeatureCollection;
|
|
237
|
-
export type GeoJsonProperties = GeoJSON.GeoJsonProperties;
|
|
238
|
-
export type Position = GeoJSON.Position;
|
|
239
|
-
export type BBox = GeoJSON.BBox;
|
|
240
|
-
export type QueryRenderedFeaturesOptions = OlaMapsGl.QueryRenderedFeaturesOptions;
|
|
241
|
-
export type QuerySourceFeatureOptions = OlaMapsGl.QuerySourceFeatureOptions;
|
|
242
|
-
export type QueryRenderedFeaturesResults = OlaMapsGl.QueryRenderedFeaturesResults;
|
|
335
|
+
export type CanvasSource = OlaMapsGl.CanvasSource;
|
|
243
336
|
export type MapMouseEvent = OlaMapsGl.MapMouseEvent;
|
|
244
337
|
export type MapTouchEvent = OlaMapsGl.MapTouchEvent;
|
|
245
338
|
export type MapWheelEvent = OlaMapsGl.MapWheelEvent;
|
|
246
|
-
export type
|
|
247
|
-
export type
|
|
248
|
-
export type MapDataEvent = OlaMapsGl.MapDataEvent;
|
|
249
|
-
export type MapSourceDataEvent = OlaMapsGl.MapSourceDataEvent;
|
|
250
|
-
export type MapStyleDataEvent = OlaMapsGl.MapStyleDataEvent;
|
|
251
|
-
export type MapTerrainEvent = OlaMapsGl.MapTerrainEvent;
|
|
252
|
-
export type MapProjectionEvent = OlaMapsGl.MapProjectionEvent;
|
|
253
|
-
export type OlaMapsEvent = OlaMapsGl.MapLibreEvent;
|
|
254
|
-
export type OlaMapsZoomEvent = OlaMapsGl.MapLibreZoomEvent;
|
|
255
|
-
export type MapEventType = OlaMapsGl.MapEventType;
|
|
339
|
+
export type Event = OlaMapsGl.Event;
|
|
340
|
+
export type Evented = OlaMapsGl.Evented;
|
|
256
341
|
export type AJAXError = OlaMapsGl.AJAXError;
|
|
257
|
-
export type
|
|
258
|
-
export type
|
|
259
|
-
export type
|
|
260
|
-
export type
|
|
261
|
-
export type
|
|
262
|
-
export type
|
|
263
|
-
export type
|
|
264
|
-
export type
|
|
342
|
+
export type CameraOptions = OlaMapsGl.CameraOptions;
|
|
343
|
+
export type AnimationOptions = OlaMapsGl.AnimationOptions;
|
|
344
|
+
export type JumpToOptions = OlaMapsGl.JumpToOptions;
|
|
345
|
+
export type EaseToOptions = OlaMapsGl.EaseToOptions;
|
|
346
|
+
export type FlyToOptions = OlaMapsGl.FlyToOptions;
|
|
347
|
+
export type FitBoundsOptions = OlaMapsGl.FitBoundsOptions;
|
|
348
|
+
export type StyleSpecification = OlaMapsGl.StyleSpecification;
|
|
349
|
+
export type LayerSpecification = OlaMapsGl.LayerSpecification;
|
|
350
|
+
export type SourceSpecification = OlaMapsGl.SourceSpecification;
|
|
351
|
+
export type Style = OlaMapsGl.Style;
|
|
352
|
+
export type PropertyValueSpecification<T> = PropertyValueSpecification<T>;
|
|
353
|
+
export type DataDrivenPropertyValueSpecification<T> = DataDrivenPropertyValueSpecification<T>;
|
|
354
|
+
export type CameraFunctionSpecification<T> = CameraFunctionSpecification<T>;
|
|
355
|
+
export type SourceFunctionSpecification<T> = SourceFunctionSpecification<T>;
|
|
356
|
+
export type CompositeFunctionSpecification<T> = CompositeFunctionSpecification<T>;
|
|
357
|
+
export type ExpressionParser = ExpressionParser;
|
|
358
|
+
export type BoxZoomHandler = OlaMapsGl.BoxZoomHandler;
|
|
359
|
+
export type CooperativeGesturesHandler = OlaMapsGl.CooperativeGesturesHandler;
|
|
360
|
+
export type DoubleClickZoomHandler = OlaMapsGl.DoubleClickZoomHandler;
|
|
361
|
+
export type DragPanHandler = OlaMapsGl.DragPanHandler;
|
|
362
|
+
export type DragRotateHandler = OlaMapsGl.DragRotateHandler;
|
|
363
|
+
export type KeyboardHandler = OlaMapsGl.KeyboardHandler;
|
|
364
|
+
export type ScrollZoomHandler = OlaMapsGl.ScrollZoomHandler;
|
|
365
|
+
export type TwoFingersTouchPitchHandler = OlaMapsGl.TwoFingersTouchPitchHandler;
|
|
366
|
+
export type TwoFingersTouchRotateHandler = OlaMapsGl.TwoFingersTouchRotateHandler;
|
|
367
|
+
export type TwoFingersTouchZoomHandler = OlaMapsGl.TwoFingersTouchZoomHandler;
|
|
368
|
+
export type TwoFingersTouchZoomRotateHandler = OlaMapsGl.TwoFingersTouchZoomRotateHandler;
|
|
369
|
+
export type Hash = OlaMapsGl.Hash;
|
|
370
|
+
export type GeoJSON = GeoJSON_2;
|
|
371
|
+
export type Geometry = Geometry;
|
|
372
|
+
export type GeometryCollection = GeometryCollection;
|
|
373
|
+
export type GeoJSONPoint = Point;
|
|
374
|
+
export type MultiPoint = MultiPoint;
|
|
375
|
+
export type LineString = LineString;
|
|
376
|
+
export type MultiLineString = MultiLineString;
|
|
377
|
+
export type Polygon = Polygon;
|
|
378
|
+
export type MultiPolygon = MultiPolygon;
|
|
379
|
+
export type FeatureCollection = FeatureCollection;
|
|
380
|
+
export type GeoJsonProperties = GeoJsonProperties;
|
|
381
|
+
export type Position = Position;
|
|
382
|
+
export type BBox = BBox;
|
|
383
|
+
export type ExpiryData = ExpiryData;
|
|
384
|
+
export type RequestParameters = RequestParameters;
|
|
385
|
+
export type LngLatLike = LngLatLike;
|
|
386
|
+
export type OverscaledTileID = OverscaledTileID;
|
|
387
|
+
export type Listener = Listener;
|
|
388
|
+
export type AlphaImage = AlphaImage;
|
|
389
|
+
export type StyleImageData = StyleImageData;
|
|
390
|
+
export type TextFit = TextFit;
|
|
391
|
+
export type StyleImageMetadata = StyleImageMetadata;
|
|
392
|
+
export type StyleImage = StyleImage;
|
|
393
|
+
export type StyleImageInterface = StyleImageInterface;
|
|
394
|
+
export type MapGeoJSONFeature = MapGeoJSONFeature;
|
|
395
|
+
export type GeoJSONFeature = GeoJSONFeature;
|
|
396
|
+
export type LngLatBoundsLike = LngLatBoundsLike;
|
|
397
|
+
export type Dispatcher = Dispatcher;
|
|
398
|
+
export type GeoJSONFeatureId = GeoJSONFeatureId;
|
|
399
|
+
export type GeoJSONSourceDiff = GeoJSONSourceDiff;
|
|
400
|
+
export type GeoJSONFeatureDiff = GeoJSONFeatureDiff;
|
|
401
|
+
export type SetClusterOptions = SetClusterOptions;
|
|
402
|
+
export type Coordinates = Coordinates;
|
|
403
|
+
export type UpdateImageOptions = UpdateImageOptions;
|
|
404
|
+
export type CanonicalTileRange = CanonicalTileRange;
|
|
405
|
+
export type CanvasSourceSpecification = CanvasSourceSpecification;
|
|
406
|
+
export type CoveringTilesOptions = CoveringTilesOptions;
|
|
407
|
+
export type CalculateTileZoomFunction = CalculateTileZoomFunction;
|
|
408
|
+
export type Source = Source;
|
|
409
|
+
export type SourceClass = SourceClass;
|
|
410
|
+
export type StyleGlyph = StyleGlyph;
|
|
411
|
+
export type GlyphPosition = GlyphPosition;
|
|
412
|
+
export type GlyphPositions = GlyphPositions;
|
|
413
|
+
export type DashEntry = DashEntry;
|
|
414
|
+
export type ResourceType = ResourceType;
|
|
415
|
+
export type RequestTransformFunction = RequestTransformFunction;
|
|
416
|
+
export type ProjectionData = ProjectionData;
|
|
417
|
+
export type TransformConstrainFunction = TransformConstrainFunction;
|
|
418
|
+
export type FeatureIndex = FeatureIndex;
|
|
419
|
+
export type WorkerTileResult = WorkerTileResult;
|
|
420
|
+
export type QueryRenderedFeaturesOptions = QueryRenderedFeaturesOptions;
|
|
421
|
+
export type QuerySourceFeatureOptions = QuerySourceFeatureOptions;
|
|
422
|
+
export type Tile = Tile;
|
|
423
|
+
export type ImageAtlas = ImageAtlas;
|
|
424
|
+
export type CustomRenderMethodInput = CustomRenderMethodInput;
|
|
425
|
+
export type CustomRenderMethod = CustomRenderMethod;
|
|
426
|
+
export type CustomLayerInterface = CustomLayerInterface;
|
|
427
|
+
export type FeatureIdentifier = FeatureIdentifier;
|
|
428
|
+
export type StyleOptions = StyleOptions;
|
|
429
|
+
export type StyleSetterOptions = StyleSetterOptions;
|
|
430
|
+
export type TransformStyleFunction = TransformStyleFunction;
|
|
431
|
+
export type StyleSwapOptions = StyleSwapOptions;
|
|
432
|
+
export type Bucket = Bucket;
|
|
433
|
+
export type MessageType = MessageType;
|
|
434
|
+
export type RequestResponseMessageMap = RequestResponseMessageMap;
|
|
435
|
+
export type IActor = IActor;
|
|
436
|
+
export type Subscription = Subscription;
|
|
437
|
+
export type DragPanOptions = DragPanOptions;
|
|
438
|
+
export type PointLike = PointLike;
|
|
439
|
+
export type CenterZoomBearing = CenterZoomBearing;
|
|
440
|
+
export type CameraForBoundsOptions = CameraForBoundsOptions;
|
|
441
|
+
export type CameraUpdateTransformFunction = CameraUpdateTransformFunction;
|
|
442
|
+
export type Handler = Handler;
|
|
443
|
+
export type HandlerResult = HandlerResult;
|
|
444
|
+
export type ControlPosition = ControlPosition;
|
|
445
|
+
export type MapLayerMouseEvent = MapLayerMouseEvent;
|
|
446
|
+
export type MapLayerTouchEvent = MapLayerTouchEvent;
|
|
447
|
+
export type MapSourceDataType = MapSourceDataType;
|
|
448
|
+
export type MapLayerEventType = MapLayerEventType;
|
|
449
|
+
export type MapEventType = MapEventType;
|
|
450
|
+
export type MapStyleDataEvent = MapStyleDataEvent;
|
|
451
|
+
export type MapSourceDataEvent = MapSourceDataEvent;
|
|
452
|
+
export type MapLibreZoomEvent = MapLibreZoomEvent;
|
|
453
|
+
export type MapDataEvent = MapDataEvent;
|
|
454
|
+
export type MapTerrainEvent = MapTerrainEvent;
|
|
455
|
+
export type MapProjectionEvent = MapProjectionEvent;
|
|
456
|
+
export type MapContextEvent = MapContextEvent;
|
|
457
|
+
export type MapStyleImageMissingEvent = MapStyleImageMissingEvent;
|
|
458
|
+
export type AroundCenterOptions = AroundCenterOptions;
|
|
459
|
+
export type GestureOptions = GestureOptions;
|
|
460
|
+
export type WebGLContextAttributesWithType = WebGLContextAttributesWithType;
|
|
461
|
+
export type Unit = Unit;
|
|
462
|
+
export type CreateTileMeshOptions = CreateTileMeshOptions;
|
|
463
|
+
export type TileMesh = TileMesh;
|
|
464
|
+
export type IndicesType = IndicesType;
|
|
465
|
+
export type ColorSpecification = ColorSpecification;
|
|
466
|
+
export type ProjectionDefinitionT = ProjectionDefinitionT;
|
|
467
|
+
export type PaddingSpecification = PaddingSpecification;
|
|
468
|
+
export type NumberArraySpecification = NumberArraySpecification;
|
|
469
|
+
export type ColorArraySpecification = ColorArraySpecification;
|
|
470
|
+
export type SpriteSpecification = SpriteSpecification;
|
|
471
|
+
export type FormattedSpecification = FormattedSpecification;
|
|
472
|
+
export type ResolvedImageSpecification = ResolvedImageSpecification;
|
|
473
|
+
export type PromoteIdSpecification = PromoteIdSpecification;
|
|
474
|
+
export type ExpressionInputType = ExpressionInputType;
|
|
475
|
+
export type CollatorExpressionSpecification = CollatorExpressionSpecification;
|
|
476
|
+
export type InterpolationSpecification = InterpolationSpecification;
|
|
477
|
+
export type ExpressionSpecification = ExpressionSpecification;
|
|
478
|
+
export type ExpressionFilterSpecification = ExpressionFilterSpecification;
|
|
479
|
+
export type LegacyFilterSpecification = LegacyFilterSpecification;
|
|
480
|
+
export type FilterSpecification = FilterSpecification;
|
|
481
|
+
export type TransitionSpecification = TransitionSpecification;
|
|
482
|
+
export type SchemaSpecification = SchemaSpecification;
|
|
483
|
+
export type LightSpecification = LightSpecification;
|
|
484
|
+
export type SkySpecification = SkySpecification;
|
|
485
|
+
export type ProjectionSpecification = ProjectionSpecification;
|
|
486
|
+
export type TerrainSpecification = TerrainSpecification;
|
|
487
|
+
export type VectorSourceSpecification = VectorSourceSpecification;
|
|
488
|
+
export type RasterSourceSpecification = RasterSourceSpecification;
|
|
489
|
+
export type RasterDEMSourceSpecification = RasterDEMSourceSpecification;
|
|
490
|
+
export type GeoJSONSourceSpecification = GeoJSONSourceSpecification;
|
|
491
|
+
export type VideoSourceSpecification = VideoSourceSpecification;
|
|
492
|
+
export type ImageSourceSpecification = ImageSourceSpecification;
|
|
493
|
+
export type FillLayerSpecification = FillLayerSpecification;
|
|
494
|
+
export type LineLayerSpecification = LineLayerSpecification;
|
|
495
|
+
export type SymbolLayerSpecification = SymbolLayerSpecification;
|
|
496
|
+
export type CircleLayerSpecification = CircleLayerSpecification;
|
|
497
|
+
export type HeatmapLayerSpecification = HeatmapLayerSpecification;
|
|
498
|
+
export type FillExtrusionLayerSpecification = FillExtrusionLayerSpecification;
|
|
499
|
+
export type RasterLayerSpecification = RasterLayerSpecification;
|
|
500
|
+
export type HillshadeLayerSpecification = HillshadeLayerSpecification;
|
|
501
|
+
export type ColorReliefLayerSpecification = ColorReliefLayerSpecification;
|
|
502
|
+
export type BackgroundLayerSpecification = BackgroundLayerSpecification;
|
|
503
|
+
export type LayerWithRef = LayerWithRef;
|
|
504
|
+
export type DiffOperationsMap = DiffOperationsMap;
|
|
505
|
+
export type DiffOperations = DiffOperations;
|
|
506
|
+
export type ValidationError = ValidationError;
|
|
507
|
+
export type ParsingError = ParsingError;
|
|
508
|
+
export type RGBColor = RGBColor;
|
|
509
|
+
export type HCLColor = HCLColor;
|
|
510
|
+
export type LABColor = LABColor;
|
|
511
|
+
export type InterpolationColorSpace = InterpolationColorSpace;
|
|
512
|
+
export type Color = Color;
|
|
513
|
+
export type ResolvedImageOptions = ResolvedImageOptions;
|
|
514
|
+
export type ResolvedImage = ResolvedImage;
|
|
515
|
+
export type VerticalAlign = VerticalAlign;
|
|
516
|
+
export type FormattedSection = FormattedSection;
|
|
517
|
+
export type Formatted = Formatted;
|
|
518
|
+
export type Point2D = Point2D;
|
|
519
|
+
export type ICanonicalTileID = ICanonicalTileID;
|
|
520
|
+
export type IMercatorCoordinate = IMercatorCoordinate;
|
|
521
|
+
export type ILngLat = ILngLat;
|
|
522
|
+
export type ILngLatLike = ILngLatLike;
|
|
523
|
+
export type EvaluationContext = EvaluationContext;
|
|
524
|
+
export type NullTypeT = NullTypeT;
|
|
525
|
+
export type NumberTypeT = NumberTypeT;
|
|
526
|
+
export type StringTypeT = StringTypeT;
|
|
527
|
+
export type BooleanTypeT = BooleanTypeT;
|
|
528
|
+
export type ColorTypeT = ColorTypeT;
|
|
529
|
+
export type ProjectionDefinitionTypeT = ProjectionDefinitionTypeT;
|
|
530
|
+
export type ObjectTypeT = ObjectTypeT;
|
|
531
|
+
export type ValueTypeT = ValueTypeT;
|
|
532
|
+
export type ErrorTypeT = ErrorTypeT;
|
|
533
|
+
export type CollatorTypeT = CollatorTypeT;
|
|
534
|
+
export type FormattedTypeT = FormattedTypeT;
|
|
535
|
+
export type PaddingTypeT = PaddingTypeT;
|
|
536
|
+
export type NumberArrayTypeT = NumberArrayTypeT;
|
|
537
|
+
export type ColorArrayTypeT = ColorArrayTypeT;
|
|
538
|
+
export type ResolvedImageTypeT = ResolvedImageTypeT;
|
|
539
|
+
export type VariableAnchorOffsetCollectionTypeT = VariableAnchorOffsetCollectionTypeT;
|
|
540
|
+
export type EvaluationKind = EvaluationKind;
|
|
541
|
+
export type Type = Type;
|
|
542
|
+
export type Padding = Padding;
|
|
543
|
+
export type NumberArray = NumberArray;
|
|
544
|
+
export type ColorArray = ColorArray;
|
|
545
|
+
export type VariableAnchorOffsetCollection = VariableAnchorOffsetCollection;
|
|
546
|
+
export type ProjectionDefinition = ProjectionDefinition;
|
|
547
|
+
export type Expression = Expression;
|
|
548
|
+
export type ExpressionRegistration = ExpressionRegistration;
|
|
549
|
+
export type ExpressionRegistry = ExpressionRegistry;
|
|
550
|
+
export type InterpolationType = InterpolationType;
|
|
551
|
+
export type Feature = Feature;
|
|
552
|
+
export type FeatureState = FeatureState;
|
|
553
|
+
export type StyleExpression = StyleExpression;
|
|
554
|
+
export type ConstantExpression = ConstantExpression;
|
|
555
|
+
export type SourceExpression = SourceExpression;
|
|
556
|
+
export type CameraExpression = CameraExpression;
|
|
557
|
+
export type CompositeExpression = CompositeExpression;
|
|
558
|
+
export type StylePropertyExpression = StylePropertyExpression;
|
|
559
|
+
export type FilterExpression = FilterExpression;
|
|
560
|
+
export type FeatureFilter = FeatureFilter;
|
|
561
|
+
export type ExpectedTypes = ExpectedTypes;
|
|
562
|
+
export type PropertyCallback = PropertyCallback;
|
|
563
|
+
export type FormattedSectionExpression = FormattedSectionExpression;
|
|
564
|
+
export type Varargs = Varargs;
|
|
565
|
+
export type Definition = Definition;
|
|
566
|
+
export type ExpressionType = ExpressionType;
|
|
567
|
+
export type ExpressionSpecificationDefinition = ExpressionSpecificationDefinition;
|
|
568
|
+
export type StylePropertySpecification = StylePropertySpecification;
|
|
569
|
+
export type GeoJsonGeometryTypes = GeoJsonGeometryTypes;
|
|
570
|
+
export type GeoJsonTypes = GeoJsonTypes;
|
|
571
|
+
export type GeoJsonObject = GeoJsonObject;
|
|
572
|
+
export type GeometryObject = GeometryObject;
|
|
265
573
|
}
|
|
266
574
|
|
|
267
|
-
export declare type OlaMapsEvent = OlaMaps.OlaMapsEvent;
|
|
268
|
-
|
|
269
|
-
export declare type OlaMapStyle = MapStyle[];
|
|
270
|
-
|
|
271
|
-
export declare type OlaMapsZoomEvent = OlaMaps.OlaMapsZoomEvent;
|
|
272
|
-
|
|
273
|
-
export declare type Point = OlaMaps.Point;
|
|
274
|
-
|
|
275
|
-
export declare type Polygon = OlaMaps.Polygon;
|
|
276
|
-
|
|
277
|
-
export declare type Popup = OlaMaps.Popup;
|
|
278
|
-
|
|
279
|
-
export declare type PopupOptions = OlaMaps.PopupOptions;
|
|
280
|
-
|
|
281
|
-
export declare type Position = OlaMaps.Position;
|
|
282
|
-
|
|
283
|
-
export declare type QueryRenderedFeaturesOptions = OlaMaps.QueryRenderedFeaturesOptions;
|
|
284
|
-
|
|
285
|
-
export declare type QueryRenderedFeaturesResults = OlaMaps.QueryRenderedFeaturesResults;
|
|
286
|
-
|
|
287
|
-
export declare type QuerySourceFeatureOptions = OlaMaps.QuerySourceFeatureOptions;
|
|
288
|
-
|
|
289
|
-
export declare type RasterTileSource = OlaMaps.RasterTileSource;
|
|
290
|
-
|
|
291
|
-
export declare type RequestParameters = OlaMaps.RequestParameters;
|
|
292
|
-
|
|
293
|
-
export declare type RequestTransformFunction = OlaMaps.RequestTransformFunction;
|
|
294
|
-
|
|
295
|
-
export declare type ScaleControl = OlaMaps.ScaleControl;
|
|
296
|
-
|
|
297
|
-
export declare type ScaleControlOptions = OlaMaps.ScaleControlOptions;
|
|
298
|
-
|
|
299
575
|
export declare const setCookie: (name: string, value: string, days?: number) => void;
|
|
300
576
|
|
|
301
|
-
export declare type SourceSpecification = OlaMaps.SourceSpecification;
|
|
302
|
-
|
|
303
|
-
export declare type StyleOptions = OlaMaps.StyleOptions;
|
|
304
|
-
|
|
305
|
-
export declare type StyleSetterOptions = OlaMaps.StyleSetterOptions;
|
|
306
|
-
|
|
307
|
-
export declare type StyleSpecification = OlaMaps.StyleSpecification;
|
|
308
|
-
|
|
309
|
-
export declare type TerrainControl = OlaMaps.TerrainControl;
|
|
310
|
-
|
|
311
|
-
export declare type TileState = OlaMaps.TileState;
|
|
312
|
-
|
|
313
|
-
export declare type VectorTileSource = OlaMaps.VectorTileSource;
|
|
314
|
-
|
|
315
|
-
export declare type VideoSource = OlaMaps.VideoSource;
|
|
316
|
-
|
|
317
577
|
export { }
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
declare namespace OlaMaps {
|
|
321
|
-
type Marker = OlaMapsGl.Marker;
|
|
322
|
-
type Popup = OlaMapsGl.Popup;
|
|
323
|
-
type NavigationControl = OlaMapsGl.NavigationControl;
|
|
324
|
-
type GeolocateControl = OlaMapsGl.GeolocateControl;
|
|
325
|
-
type ScaleControl = OlaMapsGl.ScaleControl;
|
|
326
|
-
type FullscreenControl = OlaMapsGl.FullscreenControl;
|
|
327
|
-
type AttributionControl = OlaMapsGl.AttributionControl;
|
|
328
|
-
type TerrainControl = OlaMapsGl.TerrainControl;
|
|
329
|
-
type Map = OlaMapsGl.Map;
|
|
330
|
-
type MapOptions = OlaMapsGl.MapOptions;
|
|
331
|
-
type MarkerOptions = OlaMapsGl.MarkerOptions;
|
|
332
|
-
type PopupOptions = OlaMapsGl.PopupOptions;
|
|
333
|
-
type NavigationControlOptions = OlaMapsGl.NavigationControlOptions;
|
|
334
|
-
type GeolocateControlOptions = OlaMapsGl.GeolocateControlOptions;
|
|
335
|
-
type ScaleControlOptions = OlaMapsGl.ScaleControlOptions;
|
|
336
|
-
type FullscreenControlOptions = OlaMapsGl.FullscreenControlOptions;
|
|
337
|
-
type AttributionControlOptions = OlaMapsGl.AttributionControlOptions;
|
|
338
|
-
type StyleSpecification = OlaMapsGl.StyleSpecification;
|
|
339
|
-
type LayerSpecification = OlaMapsGl.LayerSpecification;
|
|
340
|
-
type SourceSpecification = OlaMapsGl.SourceSpecification;
|
|
341
|
-
type StyleOptions = OlaMapsGl.StyleOptions;
|
|
342
|
-
type StyleSetterOptions = OlaMapsGl.StyleSetterOptions;
|
|
343
|
-
type AddLayerObject = OlaMapsGl.AddLayerObject;
|
|
344
|
-
type GeoJSONSource = OlaMapsGl.GeoJSONSource;
|
|
345
|
-
type GeoJSONSourceOptions = OlaMapsGl.GeoJSONSourceOptions;
|
|
346
|
-
type GeoJSONSourceDiff = OlaMapsGl.GeoJSONSourceDiff;
|
|
347
|
-
type GeoJSONFeatureId = OlaMapsGl.GeoJSONFeatureId;
|
|
348
|
-
type VectorTileSource = OlaMapsGl.VectorTileSource;
|
|
349
|
-
type RasterTileSource = OlaMapsGl.RasterTileSource;
|
|
350
|
-
type ImageSource = OlaMapsGl.ImageSource;
|
|
351
|
-
type CanvasSource = OlaMapsGl.CanvasSource;
|
|
352
|
-
type VideoSource = OlaMapsGl.VideoSource;
|
|
353
|
-
type LngLat = OlaMapsGl.LngLat;
|
|
354
|
-
type LngLatLike = OlaMapsGl.LngLatLike;
|
|
355
|
-
type LngLatBounds = OlaMapsGl.LngLatBounds;
|
|
356
|
-
type Point = OlaMapsGl.Point;
|
|
357
|
-
type MercatorCoordinate = OlaMapsGl.MercatorCoordinate;
|
|
358
|
-
type Coordinates = OlaMapsGl.Coordinates;
|
|
359
|
-
type Feature = OlaMapsGl.Feature;
|
|
360
|
-
type MapGeoJSONFeature = OlaMapsGl.MapGeoJSONFeature;
|
|
361
|
-
type GeoJSONFeature = OlaMapsGl.GeoJSONFeature;
|
|
362
|
-
type FeatureStates = OlaMapsGl.FeatureStates;
|
|
363
|
-
type FeatureIdentifier = OlaMapsGl.FeatureIdentifier;
|
|
364
|
-
type GeoJSON = GeoJSON.GeoJSON;
|
|
365
|
-
type Geometry = GeoJSON.Geometry;
|
|
366
|
-
type GeometryCollection = GeoJSON.GeometryCollection;
|
|
367
|
-
type GeoJSONPoint = GeoJSON.Point;
|
|
368
|
-
type MultiPoint = GeoJSON.MultiPoint;
|
|
369
|
-
type LineString = GeoJSON.LineString;
|
|
370
|
-
type MultiLineString = GeoJSON.MultiLineString;
|
|
371
|
-
type Polygon = GeoJSON.Polygon;
|
|
372
|
-
type MultiPolygon = GeoJSON.MultiPolygon;
|
|
373
|
-
type FeatureCollection = GeoJSON.FeatureCollection;
|
|
374
|
-
type GeoJsonProperties = GeoJSON.GeoJsonProperties;
|
|
375
|
-
type Position = GeoJSON.Position;
|
|
376
|
-
type BBox = GeoJSON.BBox;
|
|
377
|
-
type QueryRenderedFeaturesOptions = OlaMapsGl.QueryRenderedFeaturesOptions;
|
|
378
|
-
type QuerySourceFeatureOptions = OlaMapsGl.QuerySourceFeatureOptions;
|
|
379
|
-
type QueryRenderedFeaturesResults = OlaMapsGl.QueryRenderedFeaturesResults;
|
|
380
|
-
type MapMouseEvent = OlaMapsGl.MapMouseEvent;
|
|
381
|
-
type MapTouchEvent = OlaMapsGl.MapTouchEvent;
|
|
382
|
-
type MapWheelEvent = OlaMapsGl.MapWheelEvent;
|
|
383
|
-
type MapLayerMouseEvent = OlaMapsGl.MapLayerMouseEvent;
|
|
384
|
-
type MapLayerTouchEvent = OlaMapsGl.MapLayerTouchEvent;
|
|
385
|
-
type MapDataEvent = OlaMapsGl.MapDataEvent;
|
|
386
|
-
type MapSourceDataEvent = OlaMapsGl.MapSourceDataEvent;
|
|
387
|
-
type MapStyleDataEvent = OlaMapsGl.MapStyleDataEvent;
|
|
388
|
-
type MapTerrainEvent = OlaMapsGl.MapTerrainEvent;
|
|
389
|
-
type MapProjectionEvent = OlaMapsGl.MapProjectionEvent;
|
|
390
|
-
type OlaMapsEvent = OlaMapsGl.MapLibreEvent;
|
|
391
|
-
type OlaMapsZoomEvent = OlaMapsGl.MapLibreZoomEvent;
|
|
392
|
-
type MapEventType = OlaMapsGl.MapEventType;
|
|
393
|
-
type AJAXError = OlaMapsGl.AJAXError;
|
|
394
|
-
type ErrorLike = OlaMapsGl.ErrorLike;
|
|
395
|
-
type IControl = OlaMapsGl.IControl;
|
|
396
|
-
type CustomLayerInterface = OlaMapsGl.CustomLayerInterface;
|
|
397
|
-
type RequestParameters = OlaMapsGl.RequestParameters;
|
|
398
|
-
type GetResourceResponse<T> = OlaMapsGl.GetResourceResponse<T>;
|
|
399
|
-
type AddProtocolAction = OlaMapsGl.AddProtocolAction;
|
|
400
|
-
type RequestTransformFunction = OlaMapsGl.RequestTransformFunction;
|
|
401
|
-
type TileState = OlaMapsGl.TileState;
|
|
402
|
-
}
|