@maptiler/sdk 3.10.0 → 3.10.1

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.
Files changed (83) hide show
  1. package/dist/eslint.mjs +133 -0
  2. package/dist/maptiler-sdk.d.ts +2 -0
  3. package/dist/maptiler-sdk.mjs +14235 -0
  4. package/dist/maptiler-sdk.mjs.map +1 -0
  5. package/dist/src/ColorRamp.d.ts +359 -0
  6. package/dist/src/ImageViewer/ImageViewer.d.ts +408 -0
  7. package/dist/src/ImageViewer/ImageViewerMarker.d.ts +236 -0
  8. package/dist/src/ImageViewer/events.d.ts +47 -0
  9. package/dist/src/ImageViewer/index.d.ts +5 -0
  10. package/dist/src/ImageViewer/monkeyPatchML.d.ts +10 -0
  11. package/dist/src/ImageViewer/symbols.d.ts +2 -0
  12. package/dist/src/MLAdapters/AttributionControl.d.ts +5 -0
  13. package/dist/src/MLAdapters/BoxZoomHandler.d.ts +7 -0
  14. package/dist/src/MLAdapters/CanvasSource.d.ts +5 -0
  15. package/dist/src/MLAdapters/CooperativeGesturesHandler.d.ts +5 -0
  16. package/dist/src/MLAdapters/FullscreenControl.d.ts +5 -0
  17. package/dist/src/MLAdapters/GeoJSONSource.d.ts +5 -0
  18. package/dist/src/MLAdapters/GeolocateControl.d.ts +5 -0
  19. package/dist/src/MLAdapters/ImageSource.d.ts +5 -0
  20. package/dist/src/MLAdapters/KeyboardHandler.d.ts +5 -0
  21. package/dist/src/MLAdapters/LogoControl.d.ts +5 -0
  22. package/dist/src/MLAdapters/MapMouseEvent.d.ts +5 -0
  23. package/dist/src/MLAdapters/MapTouchEvent.d.ts +5 -0
  24. package/dist/src/MLAdapters/MapWheelEvent.d.ts +5 -0
  25. package/dist/src/MLAdapters/Marker.d.ts +5 -0
  26. package/dist/src/MLAdapters/NavigationControl.d.ts +5 -0
  27. package/dist/src/MLAdapters/Popup.d.ts +5 -0
  28. package/dist/src/MLAdapters/RasterDEMTileSource.d.ts +5 -0
  29. package/dist/src/MLAdapters/RasterTileSource.d.ts +5 -0
  30. package/dist/src/MLAdapters/ScaleControl.d.ts +5 -0
  31. package/dist/src/MLAdapters/ScrollZoomHandler.d.ts +5 -0
  32. package/dist/src/MLAdapters/Style.d.ts +5 -0
  33. package/dist/src/MLAdapters/TerrainControl.d.ts +5 -0
  34. package/dist/src/MLAdapters/TwoFingersTouchPitchHandler.d.ts +5 -0
  35. package/dist/src/MLAdapters/VectorTileSource.d.ts +5 -0
  36. package/dist/src/MLAdapters/VideoSource.d.ts +5 -0
  37. package/dist/src/Map.d.ts +480 -0
  38. package/dist/src/Point.d.ts +177 -0
  39. package/dist/src/Telemetry.d.ts +23 -0
  40. package/dist/src/caching.d.ts +4 -0
  41. package/dist/src/config.d.ts +85 -0
  42. package/dist/src/constants/defaults.d.ts +15 -0
  43. package/dist/src/controls/ImageViewerFitImageToBoundsControl.d.ts +13 -0
  44. package/dist/src/controls/MaptilerCustomControl.d.ts +17 -0
  45. package/dist/src/controls/MaptilerExternalControl.d.ts +25 -0
  46. package/dist/src/controls/MaptilerGeolocateControl.d.ts +21 -0
  47. package/dist/src/controls/MaptilerLogoControl.d.ts +19 -0
  48. package/dist/src/controls/MaptilerNavigationControl.d.ts +17 -0
  49. package/dist/src/controls/MaptilerProjectionControl.d.ts +15 -0
  50. package/dist/src/controls/MaptilerTerrainControl.d.ts +17 -0
  51. package/dist/src/controls/Minimap.d.ts +57 -0
  52. package/dist/src/controls/index.d.ts +8 -0
  53. package/dist/src/converters/index.d.ts +1 -0
  54. package/dist/src/converters/xml.d.ts +54 -0
  55. package/dist/src/custom-layers/CubemapLayer/CubemapLayer.d.ts +239 -0
  56. package/dist/src/custom-layers/CubemapLayer/constants.d.ts +3 -0
  57. package/dist/src/custom-layers/CubemapLayer/index.d.ts +2 -0
  58. package/dist/src/custom-layers/CubemapLayer/loadCubemapTexture.d.ts +43 -0
  59. package/dist/src/custom-layers/CubemapLayer/types.d.ts +67 -0
  60. package/dist/src/custom-layers/RadialGradientLayer/RadialGradientLayer.d.ts +149 -0
  61. package/dist/src/custom-layers/RadialGradientLayer/index.d.ts +2 -0
  62. package/dist/src/custom-layers/RadialGradientLayer/types.d.ts +50 -0
  63. package/dist/src/custom-layers/extractCustomLayerStyle.d.ts +17 -0
  64. package/dist/src/custom-layers/index.d.ts +6 -0
  65. package/dist/src/helpers/index.d.ts +5 -0
  66. package/dist/src/helpers/screenshot.d.ts +18 -0
  67. package/dist/src/helpers/stylehelper.d.ts +28 -0
  68. package/dist/src/helpers/vectorlayerhelpers.d.ts +508 -0
  69. package/dist/src/index.d.ts +100 -0
  70. package/dist/src/language.d.ts +107 -0
  71. package/dist/src/mapstyle.d.ts +18 -0
  72. package/dist/src/ml-types.d.ts +634 -0
  73. package/dist/src/tools.d.ts +84 -0
  74. package/dist/src/types.d.ts +1 -0
  75. package/dist/src/utils/dom.d.ts +2 -0
  76. package/dist/src/utils/errors.d.ts +5 -0
  77. package/dist/src/utils/geo-utils.d.ts +6 -0
  78. package/dist/src/utils/index.d.ts +1 -0
  79. package/dist/src/utils/logSDKVersion.d.ts +1 -0
  80. package/dist/src/utils/math-utils.d.ts +8 -0
  81. package/dist/src/utils/object.d.ts +1 -0
  82. package/dist/src/utils/webgl-utils.d.ts +49 -0
  83. package/package.json +3 -3
@@ -0,0 +1,634 @@
1
+ import { default as maplibregl, CompositeExpression, Event, ErrorEvent as ErrorEvent$1, GlyphPosition, ICanonicalTileID, Map as Map$1, Point, PropertyValueSpecification, SourceExpression, StylePropertyExpression, StylePropertySpecification, Tile, Complete, MapOptions, CollisionBoxArray, QueryRenderedFeaturesOptions, AlphaImage, FeatureIndex, MessageType, RequestResponseMessageMap, Handler, Bucket, Style, StyleImageData, StyleLayer, RasterDEMTileSource, GeoJSONSource, Actor, WebGLContextAttributesWithType } from 'maplibre-gl';
2
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
3
+ export type Config = typeof maplibregl.config;
4
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
5
+ export type SerializedObject<S extends Serialized = any> = {
6
+ [_: string]: S;
7
+ };
8
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
9
+ export type Serialized = Exclude<MessageData["data"], undefined>;
10
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
11
+ export type ViewType = StructArrayMember["type"];
12
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
13
+ export type StructArrayMember = StructArray["members"][number];
14
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
15
+ export type SerializedStructArray = {
16
+ length: number;
17
+ arrayBuffer: ArrayBuffer;
18
+ };
19
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
20
+ export type SymbolInstance = SymbolInstanceStruct;
21
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
22
+ export type TextAnchorOffset = TextAnchorOffsetStruct;
23
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
24
+ export type ErrorLike = ErrorEvent$1["error"];
25
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
26
+ export type CrossfadeParameters = NonNullable<Parameters<ProgramConfiguration["updatePaintBuffers"]>[0]>;
27
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
28
+ export type TimePoint = TransitionParameters["now"];
29
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
30
+ export type CrossFaded<T> = {
31
+ to: T;
32
+ from: T;
33
+ };
34
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
35
+ export interface Property<T, R> {
36
+ specification: StylePropertySpecification;
37
+ possiblyEvaluate(value: PropertyValue<T, R>, parameters: EvaluationParameters, canonical?: CanonicalTileID, availableImages?: Array<string>): R;
38
+ interpolate(a: R, b: R, t: number): R;
39
+ }
40
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
41
+ export type TransitionParameters = Parameters<StyleLayer["updateTransitions"]>[0];
42
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
43
+ export type PossiblyEvaluatedValue<T> = {
44
+ kind: "constant";
45
+ value: T;
46
+ } | SourceExpression | CompositeExpression;
47
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
48
+ export type Size = Parameters<AlphaImage["resize"]>[0];
49
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
50
+ export type SpriteOnDemandStyleImage = NonNullable<StyleImageData["spriteData"]>;
51
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
52
+ export type PreparedShader = Projection["shaderPreludeCode"];
53
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
54
+ export type SerializedFeaturePositionMap = {
55
+ ids: Float64Array;
56
+ positions: Uint32Array;
57
+ };
58
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
59
+ export type FeaturePosition = {
60
+ index: number;
61
+ start: number;
62
+ end: number;
63
+ };
64
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
65
+ export type $ObjMap<T extends {}, F extends (v: any) => any> = {
66
+ [K in keyof T]: F extends (v: T[K]) => infer R ? R : never;
67
+ };
68
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
69
+ export type UniformValues<Us extends {}> = $ObjMap<Us, <V>(u: Uniform<V>) => V>;
70
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
71
+ export type UniformLocations = Parameters<ProgramConfiguration["getUniforms"]>[1];
72
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
73
+ export type UniformBindings = {
74
+ [_: string]: Uniform<any>;
75
+ };
76
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
77
+ export type Segment = SegmentVector["segments"][number];
78
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
79
+ export type HeatmapPaintProps = __ExtractProps<HeatmapStyleLayer["paint"]>;
80
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
81
+ export type HeatmapPaintPropsPossiblyEvaluated = __ExtractPropsPossiblyEvaluated<HeatmapStyleLayer["paint"]>;
82
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
83
+ export type BlendFuncConstant = BlendFuncType[0];
84
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
85
+ export type BlendFuncType = ColorMode$1["blendFunction"];
86
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
87
+ export type BlendEquationType = ReturnType<BlendEquation["getDefault"]>;
88
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
89
+ export type ColorMaskType = ColorMode$1["mask"];
90
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
91
+ export type CompareFuncType = DepthFuncType;
92
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
93
+ export type DepthMaskType = DepthMode$1["mask"];
94
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
95
+ export type DepthRangeType = DepthMode$1["range"];
96
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
97
+ export type DepthFuncType = DepthMode$1["func"];
98
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
99
+ export type StencilFuncType = ReturnType<StencilFunc["getDefault"]>;
100
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
101
+ export type StencilOpConstant = StencilOpType[0];
102
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
103
+ export type StencilOpType = ReturnType<StencilOp["getDefault"]>;
104
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
105
+ export type TextureUnitType = ReturnType<ActiveTextureUnit["getDefault"]>;
106
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
107
+ export type ViewportType = ReturnType<Viewport["getDefault"]>;
108
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
109
+ export type StencilTestGL = StencilMode["test"];
110
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
111
+ export type CullFaceModeType = CullFaceMode$1["mode"];
112
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
113
+ export type FrontFaceType = CullFaceMode$1["frontFace"];
114
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
115
+ export interface IValue<T> {
116
+ current: T;
117
+ default: T;
118
+ dirty: boolean;
119
+ get(): T;
120
+ setDefault(): void;
121
+ set(value: T): void;
122
+ }
123
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
124
+ export type SerializedGrid = {
125
+ buffer: ArrayBuffer;
126
+ };
127
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
128
+ export type IntersectionResult = ReturnType<Aabb["intersectsFrustum"]>;
129
+ export declare namespace IntersectionResult {
130
+ type None = 0;
131
+ type Partial = 1;
132
+ type Full = 2;
133
+ }
134
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
135
+ export type IBoundingVolume = Pick<Frustum["aabb"], "intersectsFrustum" | "intersectsPlane">;
136
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
137
+ export type TileResult = ReturnType<TileManager["tilesIn"]>[number];
138
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
139
+ export type GlyphMetrics = GlyphPosition["metrics"];
140
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
141
+ export type Rect = GlyphPosition["rect"];
142
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
143
+ export type SymbolLayoutProps = __ExtractProps<SymbolStyleLayer["layout"]>;
144
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
145
+ export type SymbolLayoutPropsPossiblyEvaluated = __ExtractPropsPossiblyEvaluated<SymbolStyleLayer["layout"]>;
146
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
147
+ export type SymbolPaintProps = __ExtractProps<SymbolStyleLayer["paint"]>;
148
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
149
+ export type SymbolPaintPropsPossiblyEvaluated = __ExtractPropsPossiblyEvaluated<SymbolStyleLayer["paint"]>;
150
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
151
+ export type SymbolQuad = Parameters<SymbolBucket["addSymbols"]>[1][number];
152
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
153
+ export type SizeData = SymbolBucket["textSizeData"];
154
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
155
+ export type SingleCollisionBox = NonNullable<CollisionArrays["textBox"]>;
156
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
157
+ export type CollisionArrays = SymbolBucket["collisionArrays"][number];
158
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
159
+ export type SymbolFeature = SymbolBucket["features"][number];
160
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
161
+ export type SortKeyRange = SymbolBucket["sortKeyRanges"][number];
162
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
163
+ export type Entry = GlyphManager["entries"][string];
164
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
165
+ export type PoolObject = ReturnType<RenderPool["getObjectForId"]>;
166
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
167
+ export type RenderPass = "offscreen" | "opaque" | "translucent";
168
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
169
+ export type PainterOptions = Painter["options"];
170
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
171
+ export type RenderOptions = Parameters<RenderToTexture["renderLayer"]>[1];
172
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
173
+ export type TerrainData = ReturnType<Terrain["getTerrainData"]>;
174
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
175
+ export type PointProjection = ReturnType<IReadonlyTransform["projectTileCoordinates"]>;
176
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
177
+ export type IndexToPointCache = {
178
+ [lineIndex: number]: Point;
179
+ };
180
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
181
+ export type ProjectionCache = SymbolProjectionContext["projectionCache"];
182
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
183
+ export type SymbolProjectionContext = Parameters<CollisionIndex["projectPathToScreenSpace"]>[1];
184
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
185
+ export type ProjectionDataParams = Parameters<IReadonlyTransform["getProjectionData"]>[0];
186
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
187
+ export type CoveringTilesDetailsProvider = ReturnType<IReadonlyTransform["getCoveringTilesDetailsProvider"]>;
188
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
189
+ export type ITransformGetters = Pick<IReadonlyTransform, keyof IReadonlyTransform & ("tileSize" | "tileZoom" | "scale" | "worldSize" | "width" | "height" | "lngRange" | "latRange" | "minZoom" | "maxZoom" | "zoom" | "center" | "minPitch" | "maxPitch" | "roll" | "rollInRadians" | "pitch" | "pitchInRadians" | "bearing" | "bearingInRadians" | "fov" | "fovInRadians" | "elevation" | "minElevationForCurrentTile" | "padding" | "unmodified" | "renderWorldCopies" | "cameraToCenterDistance" | "nearZ" | "farZ" | "autoCalculateNearFarZ")>;
190
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
191
+ export type ITransformMutators = Pick<ITransform, keyof ITransform & ("clone" | "apply" | "setMinZoom" | "setMaxZoom" | "setMinPitch" | "setMaxPitch" | "setRenderWorldCopies" | "setBearing" | "setPitch" | "setRoll" | "setFov" | "setZoom" | "setCenter" | "setElevation" | "setMinElevationForCurrentTile" | "setPadding" | "overrideNearFarZ" | "clearNearFarZOverride" | "resize" | "interpolatePadding" | "recalculateZoomAndCenter" | "setLocationAtPoint" | "setMaxBounds" | "populateCache" | "setTransitionState")>;
192
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
193
+ export type IReadonlyTransform = Painter["transform"];
194
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
195
+ export type ITransform = TileManager["transform"];
196
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
197
+ export type QueryParameters = Parameters<FeatureIndex["query"]>[0];
198
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
199
+ export type QueryResults = ReturnType<FeatureIndex["query"]>;
200
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
201
+ export type QueryResultsItem = QueryResults[string][number];
202
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
203
+ export type DEMEncoding = RasterDEMTileSource["encoding"];
204
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
205
+ export type CircleGranularity = NonNullable<Parameters<CircleBucket["addFeature"]>[4]>;
206
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
207
+ export type TileParameters = RequestResponseMessageMap[MessageType.removeTile][0];
208
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
209
+ export type WorkerTileParameters = RequestResponseMessageMap[MessageType.loadTile][0];
210
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
211
+ export type WorkerDEMTileParameters = RequestResponseMessageMap[MessageType.loadDEMTile][0];
212
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
213
+ export type OverlapMode = Parameters<CollisionIndex["placeCollisionCircles"]>[0];
214
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
215
+ export type QueryResult<T> = {
216
+ key: T;
217
+ x1: number;
218
+ y1: number;
219
+ x2: number;
220
+ y2: number;
221
+ };
222
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
223
+ export type GridKey = {
224
+ overlapMode?: OverlapMode;
225
+ };
226
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
227
+ export type PlacedCircles = Parameters<Placement["storeCollisionData"]>[5];
228
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
229
+ export type PlacedBox = Parameters<Placement["storeCollisionData"]>[4];
230
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
231
+ export type FeatureKey = CollisionIndex["grid"]["boxKeys"][number];
232
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
233
+ export type TextAnchor = Parameters<Placement["markUsedJustification"]>[1];
234
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
235
+ export type CollisionGroup = TileLayerParameters["collisionGroup"];
236
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
237
+ export type VariableOffset = Placement["variableOffsets"][string];
238
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
239
+ export type TileLayerParameters = BucketPart["parameters"];
240
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
241
+ export type BucketPart = Parameters<Placement["placeLayerBucketPart"]>[0];
242
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
243
+ export type CrossTileID = string | number;
244
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
245
+ export type QueryRenderedFeaturesOptionsStrict = Omit<QueryRenderedFeaturesOptions, "layers"> & {
246
+ layers: Set<string> | null;
247
+ globalState?: Record<string, any>;
248
+ };
249
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
250
+ export type TileState = Tile["state"];
251
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
252
+ export type FeatureStates = LayerFeatureStates[string];
253
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
254
+ export type LayerFeatureStates = Parameters<Tile["setFeatureState"]>[0];
255
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
256
+ export type CircleLayoutProps = __ExtractProps<CircleStyleLayer["layout"]>;
257
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
258
+ export type CircleLayoutPropsPossiblyEvaluated = __ExtractPropsPossiblyEvaluated<CircleStyleLayer["layout"]>;
259
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
260
+ export type CirclePaintProps = __ExtractProps<CircleStyleLayer["paint"]>;
261
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
262
+ export type CirclePaintPropsPossiblyEvaluated = __ExtractPropsPossiblyEvaluated<CircleStyleLayer["paint"]>;
263
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
264
+ export type FillLayoutProps = __ExtractProps<FillStyleLayer["layout"]>;
265
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
266
+ export type FillLayoutPropsPossiblyEvaluated = __ExtractPropsPossiblyEvaluated<FillStyleLayer["layout"]>;
267
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
268
+ export type FillPaintProps = __ExtractProps<FillStyleLayer["paint"]>;
269
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
270
+ export type FillPaintPropsPossiblyEvaluated = __ExtractPropsPossiblyEvaluated<FillStyleLayer["paint"]>;
271
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
272
+ export type FillExtrusionPaintProps = __ExtractProps<FillExtrusionStyleLayer["paint"]>;
273
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
274
+ export type FillExtrusionPaintPropsPossiblyEvaluated = __ExtractPropsPossiblyEvaluated<FillExtrusionStyleLayer["paint"]>;
275
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
276
+ export type HillshadePaintProps = __ExtractProps<HillshadeStyleLayer["paint"]>;
277
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
278
+ export type HillshadePaintPropsPossiblyEvaluated = __ExtractPropsPossiblyEvaluated<HillshadeStyleLayer["paint"]>;
279
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
280
+ export type ColorReliefPaintProps = __ExtractProps<ColorReliefStyleLayer["paint"]>;
281
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
282
+ export type ColorReliefPaintPropsPossiblyEvaluated = __ExtractPropsPossiblyEvaluated<ColorReliefStyleLayer["paint"]>;
283
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
284
+ export type ColorRampTextures = ColorReliefStyleLayer["colorRampTextures"];
285
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
286
+ export type LineClips = NonNullable<LineBucket["lineClips"]>;
287
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
288
+ export type GradientTexture = LineBucket["gradients"][string];
289
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
290
+ export type LineLayoutProps = __ExtractProps<LineStyleLayer["layout"]>;
291
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
292
+ export type LineLayoutPropsPossiblyEvaluated = __ExtractPropsPossiblyEvaluated<LineStyleLayer["layout"]>;
293
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
294
+ export type LinePaintProps = __ExtractProps<LineStyleLayer["paint"]>;
295
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
296
+ export type LinePaintPropsPossiblyEvaluated = __ExtractPropsPossiblyEvaluated<LineStyleLayer["paint"]>;
297
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
298
+ export type TypedStyleLayer = Parameters<ProgramConfiguration["updatePaintArrays"]>[3];
299
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
300
+ export type BinderUniform = ReturnType<ProgramConfiguration["getUniforms"]>[number];
301
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
302
+ export type AttributeBinder = Extract<ProgramConfiguration["binders"][string], {
303
+ populatePaintArray: Function;
304
+ }>;
305
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
306
+ export type UniformBinder = Extract<ProgramConfiguration["binders"][string], {
307
+ setUniform: Function;
308
+ }>;
309
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
310
+ export type SkyProps = __ExtractProps<Sky["properties"]>;
311
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
312
+ export type SkyPropsPossiblyEvaluated = __ExtractPropsPossiblyEvaluated<Sky["properties"]>;
313
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
314
+ export type TerrainPreludeUniformsType = Program$1["terrainUniforms"];
315
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
316
+ export type ProjectionPreludeUniformsType = Program$1["projectionUniforms"];
317
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
318
+ export type DrawMode = Parameters<Program$1["draw"]>[1];
319
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
320
+ export type ClearArgs = Parameters<Context["clear"]>[0];
321
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
322
+ export type TextureFormat = Texture["format"];
323
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
324
+ export type TextureFilter = Texture["filter"];
325
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
326
+ export type TextureWrap = Texture["wrap"];
327
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
328
+ export type EmptyImage = Extract<TextureImage, {
329
+ data: null;
330
+ }>;
331
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
332
+ export type DataTextureImage = RGBAImage | AlphaImage | EmptyImage;
333
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
334
+ export type TextureImage = Parameters<Texture["update"]>[0];
335
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
336
+ export type Pattern = ImageManager["patterns"][string];
337
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
338
+ export type LightPosition = LightPropsPossiblyEvaluated["position"];
339
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
340
+ export type LightProps = __ExtractProps<Light["properties"]>;
341
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
342
+ export type LightPropsPossiblyEvaluated = __ExtractPropsPossiblyEvaluated<Light["properties"]>;
343
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
344
+ export type ProjectionGPUContext = Parameters<Projection["updateGPUdependent"]>[0];
345
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
346
+ export type TileMeshUsage = Parameters<Projection["getMeshFromTileID"]>[4];
347
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
348
+ export type Projection = NonNullable<Style["projection"]>;
349
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
350
+ export type BucketParameters<Layer extends TypedStyleLayer> = {
351
+ index: number;
352
+ layers: Array<Layer>;
353
+ zoom: number;
354
+ pixelRatio: number;
355
+ overscaling: number;
356
+ collisionBoxArray: CollisionBoxArray;
357
+ sourceLayerIndex: number;
358
+ sourceID: string;
359
+ globalState: Record<string, any>;
360
+ };
361
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
362
+ export type PopulateParameters = Parameters<Bucket["populate"]>[1];
363
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
364
+ export type IndexedFeature = Parameters<Bucket["populate"]>[0][number];
365
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
366
+ export type BucketFeature = FillBucket["patternFeatures"][number];
367
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
368
+ export type QueryIntersectsFeatureParams = Parameters<NonNullable<StyleLayer["queryIntersectsFeature"]>>[0];
369
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
370
+ export type GeoJSONWorkerOptions = GeoJSONSource["workerOptions"];
371
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
372
+ export type LoadGeoJSONParameters = RequestResponseMessageMap[MessageType.loadData][0];
373
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
374
+ export type RTLPluginStatus = PluginState["pluginStatus"];
375
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
376
+ export type PluginState = RequestResponseMessageMap[MessageType.syncRTLPluginState][0];
377
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
378
+ export type ClusterIDAndSource = RequestResponseMessageMap[MessageType.getClusterChildren][0];
379
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
380
+ export type GetClusterLeavesParams = RequestResponseMessageMap[MessageType.getClusterLeaves][0];
381
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
382
+ export type GeoJSONWorkerSourceLoadDataResult = RequestResponseMessageMap[MessageType.loadData][1];
383
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
384
+ export type RemoveSourceParams = RequestResponseMessageMap[MessageType.removeSource][0];
385
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
386
+ export type UpdateLayersParameters = RequestResponseMessageMap[MessageType.updateLayers][0];
387
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
388
+ export type GetImagesParameters = RequestResponseMessageMap[MessageType.getImages][0];
389
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
390
+ export type GetGlyphsParameters = RequestResponseMessageMap[MessageType.getGlyphs][0];
391
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
392
+ export type GetGlyphsResponse = RequestResponseMessageMap[MessageType.getGlyphs][1];
393
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
394
+ export type GetImagesResponse = RequestResponseMessageMap[MessageType.getImages][1];
395
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
396
+ export type ActorTarget = Actor["target"];
397
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
398
+ export type MessageData = Actor["tasks"][string];
399
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
400
+ export type ResolveReject = Actor["resolveRejects"][string];
401
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
402
+ export type MessageHandler<T extends MessageType> = (mapId: string | number, params: RequestResponseMessageMap[T][0], abortController?: AbortController) => Promise<RequestResponseMessageMap[T][1]>;
403
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
404
+ export interface DragMovementResult {
405
+ bearingDelta?: number;
406
+ pitchDelta?: number;
407
+ rollDelta?: number;
408
+ around?: Point;
409
+ panDelta?: Point;
410
+ }
411
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
412
+ export interface DragPanResult extends DragMovementResult {
413
+ around: Point;
414
+ panDelta: Point;
415
+ }
416
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
417
+ export interface DragRotateResult extends DragMovementResult {
418
+ bearingDelta: number;
419
+ }
420
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
421
+ export interface DragPitchResult extends DragMovementResult {
422
+ pitchDelta: number;
423
+ }
424
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
425
+ export interface DragRollResult extends DragMovementResult {
426
+ rollDelta: number;
427
+ }
428
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
429
+ export interface DragMoveHandler<T extends DragMovementResult, E extends Event> extends Handler {
430
+ dragStart: (e: E, point: Point) => void;
431
+ dragMove: (e: E, point: Point) => T | void;
432
+ dragEnd: (e: E) => void;
433
+ }
434
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
435
+ export interface MousePanHandler extends DragMoveHandler<DragPanResult, MouseEvent> {
436
+ }
437
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
438
+ export interface MouseRotateHandler extends DragMoveHandler<DragRotateResult, MouseEvent> {
439
+ }
440
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
441
+ export interface MousePitchHandler extends DragMoveHandler<DragPitchResult, MouseEvent> {
442
+ }
443
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
444
+ export interface MouseRollHandler extends DragMoveHandler<DragRollResult, MouseEvent> {
445
+ }
446
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
447
+ export type MapControlsDeltas = Parameters<ICameraHelper["handleMapControlsPan"]>[0];
448
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
449
+ export type CameraForBoxAndBearingHandlerResult = ReturnType<ICameraHelper["cameraForBoxAndBearing"]>;
450
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
451
+ export type EaseToHandlerOptions = Parameters<ICameraHelper["handleEaseTo"]>[1];
452
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
453
+ export type EaseToHandlerResult = ReturnType<ICameraHelper["handleEaseTo"]>;
454
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
455
+ export type FlyToHandlerOptions = Parameters<ICameraHelper["handleFlyTo"]>[1];
456
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
457
+ export type FlyToHandlerResult = ReturnType<ICameraHelper["handleFlyTo"]>;
458
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
459
+ export type ICameraHelper = Map$1["cameraHelper"];
460
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
461
+ export type EventInProgress = NonNullable<EventsInProgress["zoom"]>;
462
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
463
+ export type EventsInProgress = Parameters<HandlerManager["mergeHandlerResult"]>[1];
464
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
465
+ export type DragRotateHandlerOptions = ConstructorParameters<typeof maplibregl.DragRotateHandler>[0];
466
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
467
+ export type WebGLSupportedVersions = WebGLContextAttributesWithType["contextType"];
468
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
469
+ export type CompleteMapOptions = Complete<MapOptions>;
470
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
471
+ export type GeoJSONSourceOptions = ConstructorParameters<typeof maplibregl.GeoJSONSource>[1];
472
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
473
+ export type VectorTileSourceOptions = ConstructorParameters<typeof maplibregl.VectorTileSource>[1];
474
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
475
+ type __ExtractProps<T> = T extends {
476
+ _properties: {
477
+ properties: infer P;
478
+ };
479
+ } ? P : never;
480
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
481
+ type __ExtractPropsPossiblyEvaluated<T> = T extends {
482
+ _values: infer P;
483
+ } ? P : never;
484
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
485
+ type Terrain = Map$1["terrain"];
486
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
487
+ type Painter = Terrain["painter"];
488
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
489
+ type TerrainTileManager = Terrain["tileManager"];
490
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
491
+ type TileManager = TerrainTileManager["tileManager"];
492
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
493
+ type Frustum = ReturnType<IReadonlyTransform["getCameraFrustum"]>;
494
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
495
+ type Aabb = Frustum["aabb"];
496
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
497
+ type Framebuffer = ReturnType<Terrain["getFramebuffer"]>;
498
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
499
+ type Texture = ReturnType<Terrain["getCoordsTexture"]>;
500
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
501
+ type Placement = Style["placement"];
502
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
503
+ type GlyphManager = Painter["glyphManager"];
504
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
505
+ type RenderToTexture = Painter["renderToTexture"];
506
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
507
+ type RenderPool = RenderToTexture["pool"];
508
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
509
+ type CollisionIndex = Placement["collisionIndex"];
510
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
511
+ type RGBAImage = StyleImageData["data"];
512
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
513
+ type Context = Framebuffer["context"];
514
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
515
+ type Program$1 = ReturnType<Painter["useProgram"]>;
516
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
517
+ type ImageManager = Style["imageManager"];
518
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
519
+ type HandlerManager = Map$1["handlers"];
520
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
521
+ type CircleStyleLayer = Extract<TypedStyleLayer, {
522
+ paint: {
523
+ get(name: "circle-color"): any;
524
+ };
525
+ }>;
526
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
527
+ type FillStyleLayer = Extract<TypedStyleLayer, {
528
+ paint: {
529
+ get(name: "fill-color"): any;
530
+ };
531
+ }>;
532
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
533
+ type FillExtrusionStyleLayer = Extract<TypedStyleLayer, {
534
+ paint: {
535
+ get(name: "fill-extrusion-color"): any;
536
+ };
537
+ }>;
538
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
539
+ type HeatmapStyleLayer = Extract<TypedStyleLayer, {
540
+ paint: {
541
+ get(name: "heatmap-color"): any;
542
+ };
543
+ }>;
544
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
545
+ type HillshadeStyleLayer = Extract<TypedStyleLayer, {
546
+ paint: {
547
+ get(name: "hillshade-shadow-color"): any;
548
+ };
549
+ }>;
550
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
551
+ type ColorReliefStyleLayer = Extract<TypedStyleLayer, {
552
+ paint: {
553
+ get(name: "color-relief-color"): any;
554
+ };
555
+ }>;
556
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
557
+ type LineStyleLayer = Extract<TypedStyleLayer, {
558
+ paint: {
559
+ get(name: "line-color"): any;
560
+ };
561
+ }>;
562
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
563
+ type SymbolStyleLayer = Extract<TypedStyleLayer, {
564
+ paint: {
565
+ get(name: "icon-color"): any;
566
+ };
567
+ }>;
568
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
569
+ type CircleBucket = ReturnType<CircleStyleLayer["createBucket"]>;
570
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
571
+ type FillBucket = ReturnType<FillStyleLayer["createBucket"]>;
572
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
573
+ type LineBucket = ReturnType<LineStyleLayer["createBucket"]>;
574
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
575
+ type SymbolBucket = ReturnType<SymbolStyleLayer["createBucket"]>;
576
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
577
+ type Light = Style["light"];
578
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
579
+ type Sky = Style["sky"];
580
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
581
+ type CullFaceMode$1 = Parameters<Context["setCullFace"]>[0];
582
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
583
+ type DepthMode$1 = Parameters<Context["setDepthMode"]>[0];
584
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
585
+ type ColorMode$1 = Parameters<Context["setColorMode"]>[0];
586
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
587
+ type StencilMode = Painter["stencilClearMode"];
588
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
589
+ type Viewport = Context["viewport"];
590
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
591
+ type ActiveTextureUnit = Context["activeTexture"];
592
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
593
+ type BlendEquation = Context["blendEquation"];
594
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
595
+ type StencilFunc = Context["stencilFunc"];
596
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
597
+ type StencilOp = Context["stencilOp"];
598
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
599
+ type SymbolInstanceArray = SymbolBucket["symbolInstances"];
600
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
601
+ type TextAnchorOffsetArray = SymbolBucket["textAnchorOffsets"];
602
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
603
+ type SymbolInstanceStruct = ReturnType<SymbolInstanceArray["get"]>;
604
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
605
+ type TextAnchorOffsetStruct = ReturnType<TextAnchorOffsetArray["get"]>;
606
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
607
+ type EvaluationParameters = Parameters<Style["update"]>[0];
608
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
609
+ type CanonicalTileID = ICanonicalTileID;
610
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
611
+ type VertexBuffer = Map$1["painter"]["viewportBuffer"];
612
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
613
+ type SegmentVector = Map$1["painter"]["viewportSegments"];
614
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
615
+ type ProgramConfiguration = Map$1["painter"]["emptyProgramConfiguration"];
616
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
617
+ type StructArray = Parameters<VertexBuffer["updateData"]>[0];
618
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
619
+ interface PropertyValue<T, R> {
620
+ property: Property<T, R>;
621
+ value: PropertyValueSpecification<T> | void;
622
+ expression: StylePropertyExpression;
623
+ isDataDriven(): boolean;
624
+ getGlobalStateRefs(): Set<string>;
625
+ possiblyEvaluate(parameters: EvaluationParameters, canonical?: CanonicalTileID, availableImages?: Array<string>): R;
626
+ }
627
+ /** @deprecated Will be removed from public API in MapTiler SDK v4 */
628
+ interface Uniform<T> {
629
+ gl: WebGLRenderingContext | WebGL2RenderingContext;
630
+ location: WebGLUniformLocation;
631
+ current: T;
632
+ set(v: T): void;
633
+ }
634
+ export {};