@maplibre/maplibre-react-native 10.0.0-alpha.8 → 10.0.0-alpha.9

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 (89) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +1 -1
  3. package/docs/Camera.md +1 -1
  4. package/docs/MapView.md +9 -9
  5. package/docs/MarkerView.md +1 -1
  6. package/docs/NativeUserLocation.md +1 -1
  7. package/docs/PointAnnotation.md +2 -2
  8. package/docs/UserLocation.md +2 -2
  9. package/docs/docs.json +12 -12
  10. package/javascript/@types/assets.d.ts +1 -1
  11. package/javascript/MLNModule.ts +2 -2
  12. package/javascript/Maplibre.ts +37 -42
  13. package/javascript/components/BackgroundLayer.tsx +9 -9
  14. package/javascript/components/Callout.tsx +19 -19
  15. package/javascript/components/Camera.tsx +29 -29
  16. package/javascript/components/CircleLayer.tsx +9 -9
  17. package/javascript/components/FillExtrusionLayer.tsx +9 -9
  18. package/javascript/components/FillLayer.tsx +9 -9
  19. package/javascript/components/HeadingIndicator.tsx +7 -8
  20. package/javascript/components/HeatmapLayer.tsx +10 -10
  21. package/javascript/components/ImageSource.tsx +8 -8
  22. package/javascript/components/Images.tsx +19 -20
  23. package/javascript/components/Light.tsx +15 -15
  24. package/javascript/components/LineLayer.tsx +9 -9
  25. package/javascript/components/MapView.tsx +74 -70
  26. package/javascript/components/MarkerView.tsx +9 -10
  27. package/javascript/components/NativeUserLocation.tsx +4 -4
  28. package/javascript/components/PointAnnotation.tsx +17 -17
  29. package/javascript/components/RasterLayer.tsx +9 -9
  30. package/javascript/components/RasterSource.tsx +10 -10
  31. package/javascript/components/ShapeSource.tsx +63 -61
  32. package/javascript/components/Style.tsx +69 -59
  33. package/javascript/components/SymbolLayer.tsx +10 -10
  34. package/javascript/components/UserLocation.tsx +23 -23
  35. package/javascript/components/VectorSource.tsx +19 -19
  36. package/javascript/components/annotations/Annotation.tsx +16 -15
  37. package/javascript/hooks/useAbstractLayer.ts +15 -12
  38. package/javascript/hooks/useAbstractSource.ts +2 -2
  39. package/javascript/hooks/useNativeBridge.ts +7 -7
  40. package/javascript/hooks/useNativeRef.ts +2 -2
  41. package/javascript/hooks/useOnce.ts +1 -1
  42. package/javascript/index.ts +2 -2
  43. package/javascript/modules/location/locationManager.ts +4 -4
  44. package/javascript/modules/offline/OfflineCreatePackOptions.ts +5 -5
  45. package/javascript/modules/offline/OfflinePack.ts +3 -3
  46. package/javascript/modules/offline/offlineManager.ts +11 -12
  47. package/javascript/modules/snapshot/SnapshotOptions.ts +4 -4
  48. package/javascript/modules/snapshot/snapshotManager.ts +2 -2
  49. package/javascript/requestAndroidLocationPermissions.ts +3 -3
  50. package/javascript/types/OnPressEvent.ts +1 -1
  51. package/javascript/types/index.ts +6 -2
  52. package/javascript/utils/BridgeValue.ts +20 -20
  53. package/javascript/utils/Logger.ts +14 -14
  54. package/javascript/utils/MaplibreStyles.d.ts +359 -359
  55. package/javascript/utils/StyleValue.ts +12 -12
  56. package/javascript/utils/animated/AbstractAnimatedCoordinates.ts +6 -6
  57. package/javascript/utils/animated/Animated.ts +38 -16
  58. package/javascript/utils/animated/AnimatedCoordinatesArray.ts +7 -11
  59. package/javascript/utils/animated/AnimatedExtractCoordinateFromArray.ts +3 -3
  60. package/javascript/utils/animated/AnimatedPoint.ts +7 -7
  61. package/javascript/utils/animated/AnimatedRouteCoordinatesArray.ts +16 -20
  62. package/javascript/utils/animated/AnimatedShape.ts +15 -15
  63. package/javascript/utils/deprecation.ts +6 -3
  64. package/javascript/utils/filterUtils.ts +1 -1
  65. package/javascript/utils/geoUtils.ts +8 -8
  66. package/javascript/utils/index.ts +14 -14
  67. package/javascript/utils/styleMap.ts +18 -18
  68. package/package.json +28 -15
  69. package/plugin/build/withMapLibre.d.ts +2 -2
  70. package/plugin/build/withMapLibre.js +24 -24
  71. package/scripts/autogenerate.js +1 -1
  72. package/.eslintignore +0 -3
  73. package/.eslintrc.js +0 -169
  74. package/.prettierrc.js +0 -7
  75. package/.yarn/sdks/eslint/bin/eslint.js +0 -27
  76. package/.yarn/sdks/eslint/lib/api.js +0 -27
  77. package/.yarn/sdks/eslint/lib/unsupported-api.js +0 -27
  78. package/.yarn/sdks/eslint/package.json +0 -14
  79. package/.yarn/sdks/integrations.yml +0 -5
  80. package/.yarn/sdks/prettier/bin/prettier.cjs +0 -27
  81. package/.yarn/sdks/prettier/index.cjs +0 -27
  82. package/.yarn/sdks/prettier/package.json +0 -7
  83. package/.yarn/sdks/typescript/bin/tsc +0 -27
  84. package/.yarn/sdks/typescript/bin/tsserver +0 -27
  85. package/.yarn/sdks/typescript/lib/tsc.js +0 -27
  86. package/.yarn/sdks/typescript/lib/tsserver.js +0 -239
  87. package/.yarn/sdks/typescript/lib/tsserverlibrary.js +0 -239
  88. package/.yarn/sdks/typescript/lib/typescript.js +0 -27
  89. package/.yarn/sdks/typescript/package.json +0 -10
@@ -1,7 +1,7 @@
1
1
  /* This file was generated from MapboxStyle.ts.ejs do not modify */
2
- import {type ImageSourcePropType} from 'react-native';
2
+ import { type ImageSourcePropType } from "react-native";
3
3
 
4
- export type Translation = {x: number; y: number} | [number, number];
4
+ export type Translation = { x: number; y: number } | [number, number];
5
5
 
6
6
  export interface Transition {
7
7
  duration: number;
@@ -12,98 +12,98 @@ export type FormattedString = string; /* TODO */
12
12
 
13
13
  type ExpressionName =
14
14
  // Types
15
- | 'array'
16
- | 'boolean'
17
- | 'collator'
18
- | 'format'
19
- | 'image'
20
- | 'literal'
21
- | 'number'
22
- | 'number-format'
23
- | 'object'
24
- | 'string'
25
- | 'to-boolean'
26
- | 'to-color'
27
- | 'to-number'
28
- | 'to-string'
29
- | 'typeof'
15
+ | "array"
16
+ | "boolean"
17
+ | "collator"
18
+ | "format"
19
+ | "image"
20
+ | "literal"
21
+ | "number"
22
+ | "number-format"
23
+ | "object"
24
+ | "string"
25
+ | "to-boolean"
26
+ | "to-color"
27
+ | "to-number"
28
+ | "to-string"
29
+ | "typeof"
30
30
  // Feature data
31
- | 'accumulated'
32
- | 'feature-state'
33
- | 'geometry-type'
34
- | 'id'
35
- | 'line-progress'
36
- | 'properties'
31
+ | "accumulated"
32
+ | "feature-state"
33
+ | "geometry-type"
34
+ | "id"
35
+ | "line-progress"
36
+ | "properties"
37
37
  // Lookup
38
- | 'at'
39
- | 'get'
40
- | 'has'
41
- | 'in'
42
- | 'index-of'
43
- | 'length'
44
- | 'slice'
38
+ | "at"
39
+ | "get"
40
+ | "has"
41
+ | "in"
42
+ | "index-of"
43
+ | "length"
44
+ | "slice"
45
45
  // Decision
46
- | '!'
47
- | '!='
48
- | '<'
49
- | '<='
50
- | '=='
51
- | '>'
52
- | '>='
53
- | 'all'
54
- | 'any'
55
- | 'case'
56
- | 'match'
57
- | 'coalesce'
58
- | 'within'
46
+ | "!"
47
+ | "!="
48
+ | "<"
49
+ | "<="
50
+ | "=="
51
+ | ">"
52
+ | ">="
53
+ | "all"
54
+ | "any"
55
+ | "case"
56
+ | "match"
57
+ | "coalesce"
58
+ | "within"
59
59
  // Ramps, scales, curves
60
- | 'interpolate'
61
- | 'interpolate-hcl'
62
- | 'interpolate-lab'
63
- | 'step'
60
+ | "interpolate"
61
+ | "interpolate-hcl"
62
+ | "interpolate-lab"
63
+ | "step"
64
64
  // Variable binding
65
- | 'let'
66
- | 'var'
65
+ | "let"
66
+ | "var"
67
67
  // String
68
- | 'concat'
69
- | 'downcase'
70
- | 'is-supported-script'
71
- | 'resolved-locale'
72
- | 'upcase'
68
+ | "concat"
69
+ | "downcase"
70
+ | "is-supported-script"
71
+ | "resolved-locale"
72
+ | "upcase"
73
73
  // Color
74
- | 'rgb'
75
- | 'rgba'
76
- | 'to-rgba'
74
+ | "rgb"
75
+ | "rgba"
76
+ | "to-rgba"
77
77
  // Math
78
- | '-'
79
- | '*'
80
- | '/'
81
- | '%'
82
- | '^'
83
- | '+'
84
- | 'abs'
85
- | 'acos'
86
- | 'asin'
87
- | 'atan'
88
- | 'ceil'
89
- | 'cos'
90
- | 'distance'
91
- | 'e'
92
- | 'floor'
93
- | 'ln'
94
- | 'ln2'
95
- | 'log10'
96
- | 'log2'
97
- | 'max'
98
- | 'min'
99
- | 'pi'
100
- | 'round'
101
- | 'sin'
102
- | 'sqrt'
103
- | 'tan'
78
+ | "-"
79
+ | "*"
80
+ | "/"
81
+ | "%"
82
+ | "^"
83
+ | "+"
84
+ | "abs"
85
+ | "acos"
86
+ | "asin"
87
+ | "atan"
88
+ | "ceil"
89
+ | "cos"
90
+ | "distance"
91
+ | "e"
92
+ | "floor"
93
+ | "ln"
94
+ | "ln2"
95
+ | "log10"
96
+ | "log2"
97
+ | "max"
98
+ | "min"
99
+ | "pi"
100
+ | "round"
101
+ | "sin"
102
+ | "sqrt"
103
+ | "tan"
104
104
  // Zoom, Heatmap
105
- | 'zoom'
106
- | 'heatmap-density';
105
+ | "zoom"
106
+ | "heatmap-density";
107
107
 
108
108
  type ExpressionField =
109
109
  | string
@@ -111,19 +111,19 @@ type ExpressionField =
111
111
  | boolean
112
112
  | Expression
113
113
  | ExpressionField[]
114
- | {[key: string]: ExpressionField};
114
+ | { [key: string]: ExpressionField };
115
115
 
116
116
  export type Expression = readonly [ExpressionName, ...ExpressionField[]];
117
117
 
118
118
  export type FilterExpression = Expression;
119
119
 
120
120
  type ExpressionParameters =
121
- | 'zoom'
122
- | 'feature'
123
- | 'feature-state'
124
- | 'sky-radial-progress'
125
- | 'line-progress'
126
- | 'heatmap-density';
121
+ | "zoom"
122
+ | "feature"
123
+ | "feature-state"
124
+ | "sky-radial-progress"
125
+ | "line-progress"
126
+ | "heatmap-density";
127
127
 
128
128
  type ResolvedImageType = ImageSourcePropType | string;
129
129
 
@@ -134,294 +134,294 @@ export type Value<T, AllowedParameters extends ExpressionParameters[] = []> =
134
134
 
135
135
  enum VisibilityEnum {
136
136
  /** The layer is shown. */
137
- Visible = 'visible',
137
+ Visible = "visible",
138
138
  /** The layer is not shown. */
139
- None = 'none',
139
+ None = "none",
140
140
  }
141
- type VisibilityEnumValues = 'visible' | 'none';
141
+ type VisibilityEnumValues = "visible" | "none";
142
142
  enum FillTranslateAnchorEnum {
143
143
  /** The fill is translated relative to the map. */
144
- Map = 'map',
144
+ Map = "map",
145
145
  /** The fill is translated relative to the viewport. */
146
- Viewport = 'viewport',
146
+ Viewport = "viewport",
147
147
  }
148
- type FillTranslateAnchorEnumValues = 'map' | 'viewport';
148
+ type FillTranslateAnchorEnumValues = "map" | "viewport";
149
149
  enum LineCapEnum {
150
150
  /** A cap with a squared-off end which is drawn to the exact endpoint of the line. */
151
- Butt = 'butt',
151
+ Butt = "butt",
152
152
  /** A cap with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line. */
153
- Round = 'round',
153
+ Round = "round",
154
154
  /** A cap with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width. */
155
- Square = 'square',
155
+ Square = "square",
156
156
  }
157
- type LineCapEnumValues = 'butt' | 'round' | 'square';
157
+ type LineCapEnumValues = "butt" | "round" | "square";
158
158
  enum LineJoinEnum {
159
159
  /** A join with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width. */
160
- Bevel = 'bevel',
160
+ Bevel = "bevel",
161
161
  /** A join with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line. */
162
- Round = 'round',
162
+ Round = "round",
163
163
  /** A join with a sharp, angled corner which is drawn with the outer sides beyond the endpoint of the path until they meet. */
164
- Miter = 'miter',
164
+ Miter = "miter",
165
165
  }
166
- type LineJoinEnumValues = 'bevel' | 'round' | 'miter';
166
+ type LineJoinEnumValues = "bevel" | "round" | "miter";
167
167
  enum LineTranslateAnchorEnum {
168
168
  /** The line is translated relative to the map. */
169
- Map = 'map',
169
+ Map = "map",
170
170
  /** The line is translated relative to the viewport. */
171
- Viewport = 'viewport',
171
+ Viewport = "viewport",
172
172
  }
173
- type LineTranslateAnchorEnumValues = 'map' | 'viewport';
173
+ type LineTranslateAnchorEnumValues = "map" | "viewport";
174
174
  enum SymbolPlacementEnum {
175
175
  /** The label is placed at the point where the geometry is located. */
176
- Point = 'point',
176
+ Point = "point",
177
177
  /** The label is placed along the line of the geometry. Can only be used on `LineString` and `Polygon` geometries. */
178
- Line = 'line',
178
+ Line = "line",
179
179
  /** The label is placed at the center of the line of the geometry. Can only be used on `LineString` and `Polygon` geometries. Note that a single feature in a vector tile may contain multiple line geometries. */
180
- LineCenter = 'line-center',
180
+ LineCenter = "line-center",
181
181
  }
182
- type SymbolPlacementEnumValues = 'point' | 'line' | 'line-center';
182
+ type SymbolPlacementEnumValues = "point" | "line" | "line-center";
183
183
  enum SymbolZOrderEnum {
184
184
  /** Sorts symbols by `symbol-sort-key` if set. Otherwise, sorts symbols by their y-position relative to the viewport if `icon-allow-overlap` or `text-allow-overlap` is set to `true` or `icon-ignore-placement` or `text-ignore-placement` is `false`. */
185
- Auto = 'auto',
185
+ Auto = "auto",
186
186
  /** Sorts symbols by their y-position relative to the viewport if `icon-allow-overlap` or `text-allow-overlap` is set to `true` or `icon-ignore-placement` or `text-ignore-placement` is `false`. */
187
- ViewportY = 'viewport-y',
187
+ ViewportY = "viewport-y",
188
188
  /** Sorts symbols by `symbol-sort-key` if set. Otherwise, no sorting is applied; symbols are rendered in the same order as the source data. */
189
- Source = 'source',
189
+ Source = "source",
190
190
  }
191
- type SymbolZOrderEnumValues = 'auto' | 'viewport-y' | 'source';
191
+ type SymbolZOrderEnumValues = "auto" | "viewport-y" | "source";
192
192
  enum IconRotationAlignmentEnum {
193
193
  /** When `symbol-placement` is set to `point`, aligns icons east-west. When `symbol-placement` is set to `line` or `line-center`, aligns icon x-axes with the line. */
194
- Map = 'map',
194
+ Map = "map",
195
195
  /** Produces icons whose x-axes are aligned with the x-axis of the viewport, regardless of the value of `symbol-placement`. */
196
- Viewport = 'viewport',
196
+ Viewport = "viewport",
197
197
  /** When `symbol-placement` is set to `point`, this is equivalent to `viewport`. When `symbol-placement` is set to `line` or `line-center`, this is equivalent to `map`. */
198
- Auto = 'auto',
198
+ Auto = "auto",
199
199
  }
200
- type IconRotationAlignmentEnumValues = 'map' | 'viewport' | 'auto';
200
+ type IconRotationAlignmentEnumValues = "map" | "viewport" | "auto";
201
201
  enum IconTextFitEnum {
202
202
  /** The icon is displayed at its intrinsic aspect ratio. */
203
- None = 'none',
203
+ None = "none",
204
204
  /** The icon is scaled in the x-dimension to fit the width of the text. */
205
- Width = 'width',
205
+ Width = "width",
206
206
  /** The icon is scaled in the y-dimension to fit the height of the text. */
207
- Height = 'height',
207
+ Height = "height",
208
208
  /** The icon is scaled in both x- and y-dimensions. */
209
- Both = 'both',
209
+ Both = "both",
210
210
  }
211
- type IconTextFitEnumValues = 'none' | 'width' | 'height' | 'both';
211
+ type IconTextFitEnumValues = "none" | "width" | "height" | "both";
212
212
  enum IconAnchorEnum {
213
213
  /** The center of the icon is placed closest to the anchor. */
214
- Center = 'center',
214
+ Center = "center",
215
215
  /** The left side of the icon is placed closest to the anchor. */
216
- Left = 'left',
216
+ Left = "left",
217
217
  /** The right side of the icon is placed closest to the anchor. */
218
- Right = 'right',
218
+ Right = "right",
219
219
  /** The top of the icon is placed closest to the anchor. */
220
- Top = 'top',
220
+ Top = "top",
221
221
  /** The bottom of the icon is placed closest to the anchor. */
222
- Bottom = 'bottom',
222
+ Bottom = "bottom",
223
223
  /** The top left corner of the icon is placed closest to the anchor. */
224
- TopLeft = 'top-left',
224
+ TopLeft = "top-left",
225
225
  /** The top right corner of the icon is placed closest to the anchor. */
226
- TopRight = 'top-right',
226
+ TopRight = "top-right",
227
227
  /** The bottom left corner of the icon is placed closest to the anchor. */
228
- BottomLeft = 'bottom-left',
228
+ BottomLeft = "bottom-left",
229
229
  /** The bottom right corner of the icon is placed closest to the anchor. */
230
- BottomRight = 'bottom-right',
230
+ BottomRight = "bottom-right",
231
231
  }
232
232
  type IconAnchorEnumValues =
233
- | 'center'
234
- | 'left'
235
- | 'right'
236
- | 'top'
237
- | 'bottom'
238
- | 'top-left'
239
- | 'top-right'
240
- | 'bottom-left'
241
- | 'bottom-right';
233
+ | "center"
234
+ | "left"
235
+ | "right"
236
+ | "top"
237
+ | "bottom"
238
+ | "top-left"
239
+ | "top-right"
240
+ | "bottom-left"
241
+ | "bottom-right";
242
242
  enum IconPitchAlignmentEnum {
243
243
  /** The icon is aligned to the plane of the map. */
244
- Map = 'map',
244
+ Map = "map",
245
245
  /** The icon is aligned to the plane of the viewport. */
246
- Viewport = 'viewport',
246
+ Viewport = "viewport",
247
247
  /** Automatically matches the value of `icon-rotation-alignment`. */
248
- Auto = 'auto',
248
+ Auto = "auto",
249
249
  }
250
- type IconPitchAlignmentEnumValues = 'map' | 'viewport' | 'auto';
250
+ type IconPitchAlignmentEnumValues = "map" | "viewport" | "auto";
251
251
  enum TextPitchAlignmentEnum {
252
252
  /** The text is aligned to the plane of the map. */
253
- Map = 'map',
253
+ Map = "map",
254
254
  /** The text is aligned to the plane of the viewport. */
255
- Viewport = 'viewport',
255
+ Viewport = "viewport",
256
256
  /** Automatically matches the value of `text-rotation-alignment`. */
257
- Auto = 'auto',
257
+ Auto = "auto",
258
258
  }
259
- type TextPitchAlignmentEnumValues = 'map' | 'viewport' | 'auto';
259
+ type TextPitchAlignmentEnumValues = "map" | "viewport" | "auto";
260
260
  enum TextRotationAlignmentEnum {
261
261
  /** When `symbol-placement` is set to `point`, aligns text east-west. When `symbol-placement` is set to `line` or `line-center`, aligns text x-axes with the line. */
262
- Map = 'map',
262
+ Map = "map",
263
263
  /** Produces glyphs whose x-axes are aligned with the x-axis of the viewport, regardless of the value of `symbol-placement`. */
264
- Viewport = 'viewport',
264
+ Viewport = "viewport",
265
265
  /** When `symbol-placement` is set to `point`, aligns text to the x-axis of the viewport. When `symbol-placement` is set to `line` or `line-center`, aligns glyphs to the x-axis of the viewport and places them along the line. */
266
- ViewportGlyph = 'viewport-glyph',
266
+ ViewportGlyph = "viewport-glyph",
267
267
  /** When `symbol-placement` is set to `point`, this is equivalent to `viewport`. When `symbol-placement` is set to `line` or `line-center`, this is equivalent to `map`. */
268
- Auto = 'auto',
268
+ Auto = "auto",
269
269
  }
270
270
  type TextRotationAlignmentEnumValues =
271
- | 'map'
272
- | 'viewport'
273
- | 'viewport-glyph'
274
- | 'auto';
271
+ | "map"
272
+ | "viewport"
273
+ | "viewport-glyph"
274
+ | "auto";
275
275
  enum TextJustifyEnum {
276
276
  /** The text is aligned towards the anchor position. */
277
- Auto = 'auto',
277
+ Auto = "auto",
278
278
  /** The text is aligned to the left. */
279
- Left = 'left',
279
+ Left = "left",
280
280
  /** The text is centered. */
281
- Center = 'center',
281
+ Center = "center",
282
282
  /** The text is aligned to the right. */
283
- Right = 'right',
283
+ Right = "right",
284
284
  }
285
- type TextJustifyEnumValues = 'auto' | 'left' | 'center' | 'right';
285
+ type TextJustifyEnumValues = "auto" | "left" | "center" | "right";
286
286
  enum TextVariableAnchorEnum {
287
287
  /** The center of the text is placed closest to the anchor. */
288
- Center = 'center',
288
+ Center = "center",
289
289
  /** The left side of the text is placed closest to the anchor. */
290
- Left = 'left',
290
+ Left = "left",
291
291
  /** The right side of the text is placed closest to the anchor. */
292
- Right = 'right',
292
+ Right = "right",
293
293
  /** The top of the text is placed closest to the anchor. */
294
- Top = 'top',
294
+ Top = "top",
295
295
  /** The bottom of the text is placed closest to the anchor. */
296
- Bottom = 'bottom',
296
+ Bottom = "bottom",
297
297
  /** The top left corner of the text is placed closest to the anchor. */
298
- TopLeft = 'top-left',
298
+ TopLeft = "top-left",
299
299
  /** The top right corner of the text is placed closest to the anchor. */
300
- TopRight = 'top-right',
300
+ TopRight = "top-right",
301
301
  /** The bottom left corner of the text is placed closest to the anchor. */
302
- BottomLeft = 'bottom-left',
302
+ BottomLeft = "bottom-left",
303
303
  /** The bottom right corner of the text is placed closest to the anchor. */
304
- BottomRight = 'bottom-right',
304
+ BottomRight = "bottom-right",
305
305
  }
306
306
  type TextVariableAnchorEnumValues =
307
- | 'center'
308
- | 'left'
309
- | 'right'
310
- | 'top'
311
- | 'bottom'
312
- | 'top-left'
313
- | 'top-right'
314
- | 'bottom-left'
315
- | 'bottom-right';
307
+ | "center"
308
+ | "left"
309
+ | "right"
310
+ | "top"
311
+ | "bottom"
312
+ | "top-left"
313
+ | "top-right"
314
+ | "bottom-left"
315
+ | "bottom-right";
316
316
  enum TextAnchorEnum {
317
317
  /** The center of the text is placed closest to the anchor. */
318
- Center = 'center',
318
+ Center = "center",
319
319
  /** The left side of the text is placed closest to the anchor. */
320
- Left = 'left',
320
+ Left = "left",
321
321
  /** The right side of the text is placed closest to the anchor. */
322
- Right = 'right',
322
+ Right = "right",
323
323
  /** The top of the text is placed closest to the anchor. */
324
- Top = 'top',
324
+ Top = "top",
325
325
  /** The bottom of the text is placed closest to the anchor. */
326
- Bottom = 'bottom',
326
+ Bottom = "bottom",
327
327
  /** The top left corner of the text is placed closest to the anchor. */
328
- TopLeft = 'top-left',
328
+ TopLeft = "top-left",
329
329
  /** The top right corner of the text is placed closest to the anchor. */
330
- TopRight = 'top-right',
330
+ TopRight = "top-right",
331
331
  /** The bottom left corner of the text is placed closest to the anchor. */
332
- BottomLeft = 'bottom-left',
332
+ BottomLeft = "bottom-left",
333
333
  /** The bottom right corner of the text is placed closest to the anchor. */
334
- BottomRight = 'bottom-right',
334
+ BottomRight = "bottom-right",
335
335
  }
336
336
  type TextAnchorEnumValues =
337
- | 'center'
338
- | 'left'
339
- | 'right'
340
- | 'top'
341
- | 'bottom'
342
- | 'top-left'
343
- | 'top-right'
344
- | 'bottom-left'
345
- | 'bottom-right';
337
+ | "center"
338
+ | "left"
339
+ | "right"
340
+ | "top"
341
+ | "bottom"
342
+ | "top-left"
343
+ | "top-right"
344
+ | "bottom-left"
345
+ | "bottom-right";
346
346
  enum TextWritingModeEnum {
347
347
  /** If a text's language supports horizontal writing mode, symbols with point placement would be laid out horizontally. */
348
- Horizontal = 'horizontal',
348
+ Horizontal = "horizontal",
349
349
  /** If a text's language supports vertical writing mode, symbols with point placement would be laid out vertically. */
350
- Vertical = 'vertical',
350
+ Vertical = "vertical",
351
351
  }
352
- type TextWritingModeEnumValues = 'horizontal' | 'vertical';
352
+ type TextWritingModeEnumValues = "horizontal" | "vertical";
353
353
  enum TextTransformEnum {
354
354
  /** The text is not altered. */
355
- None = 'none',
355
+ None = "none",
356
356
  /** Forces all letters to be displayed in uppercase. */
357
- Uppercase = 'uppercase',
357
+ Uppercase = "uppercase",
358
358
  /** Forces all letters to be displayed in lowercase. */
359
- Lowercase = 'lowercase',
359
+ Lowercase = "lowercase",
360
360
  }
361
- type TextTransformEnumValues = 'none' | 'uppercase' | 'lowercase';
361
+ type TextTransformEnumValues = "none" | "uppercase" | "lowercase";
362
362
  enum IconTranslateAnchorEnum {
363
363
  /** Icons are translated relative to the map. */
364
- Map = 'map',
364
+ Map = "map",
365
365
  /** Icons are translated relative to the viewport. */
366
- Viewport = 'viewport',
366
+ Viewport = "viewport",
367
367
  }
368
- type IconTranslateAnchorEnumValues = 'map' | 'viewport';
368
+ type IconTranslateAnchorEnumValues = "map" | "viewport";
369
369
  enum TextTranslateAnchorEnum {
370
370
  /** The text is translated relative to the map. */
371
- Map = 'map',
371
+ Map = "map",
372
372
  /** The text is translated relative to the viewport. */
373
- Viewport = 'viewport',
373
+ Viewport = "viewport",
374
374
  }
375
- type TextTranslateAnchorEnumValues = 'map' | 'viewport';
375
+ type TextTranslateAnchorEnumValues = "map" | "viewport";
376
376
  enum CircleTranslateAnchorEnum {
377
377
  /** The circle is translated relative to the map. */
378
- Map = 'map',
378
+ Map = "map",
379
379
  /** The circle is translated relative to the viewport. */
380
- Viewport = 'viewport',
380
+ Viewport = "viewport",
381
381
  }
382
- type CircleTranslateAnchorEnumValues = 'map' | 'viewport';
382
+ type CircleTranslateAnchorEnumValues = "map" | "viewport";
383
383
  enum CirclePitchScaleEnum {
384
384
  /** Circles are scaled according to their apparent distance to the camera. */
385
- Map = 'map',
385
+ Map = "map",
386
386
  /** Circles are not scaled. */
387
- Viewport = 'viewport',
387
+ Viewport = "viewport",
388
388
  }
389
- type CirclePitchScaleEnumValues = 'map' | 'viewport';
389
+ type CirclePitchScaleEnumValues = "map" | "viewport";
390
390
  enum CirclePitchAlignmentEnum {
391
391
  /** The circle is aligned to the plane of the map. */
392
- Map = 'map',
392
+ Map = "map",
393
393
  /** The circle is aligned to the plane of the viewport. */
394
- Viewport = 'viewport',
394
+ Viewport = "viewport",
395
395
  }
396
- type CirclePitchAlignmentEnumValues = 'map' | 'viewport';
396
+ type CirclePitchAlignmentEnumValues = "map" | "viewport";
397
397
  enum FillExtrusionTranslateAnchorEnum {
398
398
  /** The fill extrusion is translated relative to the map. */
399
- Map = 'map',
399
+ Map = "map",
400
400
  /** The fill extrusion is translated relative to the viewport. */
401
- Viewport = 'viewport',
401
+ Viewport = "viewport",
402
402
  }
403
- type FillExtrusionTranslateAnchorEnumValues = 'map' | 'viewport';
403
+ type FillExtrusionTranslateAnchorEnumValues = "map" | "viewport";
404
404
  enum RasterResamplingEnum {
405
405
  /** (Bi)linear filtering interpolates pixel values using the weighted average of the four closest original source pixels creating a smooth but blurry look when overscaled */
406
- Linear = 'linear',
406
+ Linear = "linear",
407
407
  /** Nearest neighbor filtering interpolates pixel values using the nearest original source pixel creating a sharp but pixelated look when overscaled */
408
- Nearest = 'nearest',
408
+ Nearest = "nearest",
409
409
  }
410
- type RasterResamplingEnumValues = 'linear' | 'nearest';
410
+ type RasterResamplingEnumValues = "linear" | "nearest";
411
411
  enum HillshadeIlluminationAnchorEnum {
412
412
  /** The hillshade illumination is relative to the north direction. */
413
- Map = 'map',
413
+ Map = "map",
414
414
  /** The hillshade illumination is relative to the top of the viewport. */
415
- Viewport = 'viewport',
415
+ Viewport = "viewport",
416
416
  }
417
- type HillshadeIlluminationAnchorEnumValues = 'map' | 'viewport';
417
+ type HillshadeIlluminationAnchorEnumValues = "map" | "viewport";
418
418
  enum AnchorEnum {
419
419
  /** The position of the light source is aligned to the rotation of the map. */
420
- Map = 'map',
420
+ Map = "map",
421
421
  /** The position of the light source is aligned to the rotation of the viewport. */
422
- Viewport = 'viewport',
422
+ Viewport = "viewport",
423
423
  }
424
- type AnchorEnumValues = 'map' | 'viewport';
424
+ type AnchorEnumValues = "map" | "viewport";
425
425
 
426
426
  type Enum<EnumType, EnumValues> = EnumType | EnumValues;
427
427
 
@@ -429,7 +429,7 @@ export interface FillLayerStyleProps {
429
429
  /**
430
430
  * Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
431
431
  */
432
- fillSortKey?: Value<number, ['zoom', 'feature']>;
432
+ fillSortKey?: Value<number, ["zoom", "feature"]>;
433
433
  /**
434
434
  * Whether this layer is displayed.
435
435
  */
@@ -437,11 +437,11 @@ export interface FillLayerStyleProps {
437
437
  /**
438
438
  * Whether or not the fill should be antialiased.
439
439
  */
440
- fillAntialias?: Value<boolean, ['zoom']>;
440
+ fillAntialias?: Value<boolean, ["zoom"]>;
441
441
  /**
442
442
  * The opacity of the entire fill layer. In contrast to the `fillColor`, this value will also affect the 1px stroke around the fill, if the stroke is used.
443
443
  */
444
- fillOpacity?: Value<number, ['zoom', 'feature', 'feature-state']>;
444
+ fillOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
445
445
 
446
446
  /**
447
447
  * The transition affecting any changes to this layer’s fillOpacity property.
@@ -452,7 +452,7 @@ export interface FillLayerStyleProps {
452
452
  *
453
453
  * @disabledBy fillPattern
454
454
  */
455
- fillColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
455
+ fillColor?: Value<string, ["zoom", "feature", "feature-state"]>;
456
456
 
457
457
  /**
458
458
  * The transition affecting any changes to this layer’s fillColor property.
@@ -463,7 +463,7 @@ export interface FillLayerStyleProps {
463
463
  *
464
464
  * @disabledBy fillPattern
465
465
  */
466
- fillOutlineColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
466
+ fillOutlineColor?: Value<string, ["zoom", "feature", "feature-state"]>;
467
467
 
468
468
  /**
469
469
  * The transition affecting any changes to this layer’s fillOutlineColor property.
@@ -472,7 +472,7 @@ export interface FillLayerStyleProps {
472
472
  /**
473
473
  * The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.
474
474
  */
475
- fillTranslate?: Value<Translation, ['zoom']>;
475
+ fillTranslate?: Value<Translation, ["zoom"]>;
476
476
 
477
477
  /**
478
478
  * The transition affecting any changes to this layer’s fillTranslate property.
@@ -485,12 +485,12 @@ export interface FillLayerStyleProps {
485
485
  */
486
486
  fillTranslateAnchor?: Value<
487
487
  Enum<FillTranslateAnchorEnum, FillTranslateAnchorEnumValues>,
488
- ['zoom']
488
+ ["zoom"]
489
489
  >;
490
490
  /**
491
491
  * Name of image in sprite to use for drawing image fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoomDependent expressions will be evaluated only at integer zoom levels.
492
492
  */
493
- fillPattern?: Value<ResolvedImageType, ['zoom', 'feature']>;
493
+ fillPattern?: Value<ResolvedImageType, ["zoom", "feature"]>;
494
494
 
495
495
  /**
496
496
  * The transition affecting any changes to this layer’s fillPattern property.
@@ -501,23 +501,23 @@ export interface LineLayerStyleProps {
501
501
  /**
502
502
  * The display of line endings.
503
503
  */
504
- lineCap?: Value<Enum<LineCapEnum, LineCapEnumValues>, ['zoom']>;
504
+ lineCap?: Value<Enum<LineCapEnum, LineCapEnumValues>, ["zoom"]>;
505
505
  /**
506
506
  * The display of lines when joining.
507
507
  */
508
- lineJoin?: Value<Enum<LineJoinEnum, LineJoinEnumValues>, ['zoom', 'feature']>;
508
+ lineJoin?: Value<Enum<LineJoinEnum, LineJoinEnumValues>, ["zoom", "feature"]>;
509
509
  /**
510
510
  * Used to automatically convert miter joins to bevel joins for sharp angles.
511
511
  */
512
- lineMiterLimit?: Value<number, ['zoom']>;
512
+ lineMiterLimit?: Value<number, ["zoom"]>;
513
513
  /**
514
514
  * Used to automatically convert round joins to miter joins for shallow angles.
515
515
  */
516
- lineRoundLimit?: Value<number, ['zoom']>;
516
+ lineRoundLimit?: Value<number, ["zoom"]>;
517
517
  /**
518
518
  * Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
519
519
  */
520
- lineSortKey?: Value<number, ['zoom', 'feature']>;
520
+ lineSortKey?: Value<number, ["zoom", "feature"]>;
521
521
  /**
522
522
  * Whether this layer is displayed.
523
523
  */
@@ -525,7 +525,7 @@ export interface LineLayerStyleProps {
525
525
  /**
526
526
  * The opacity at which the line will be drawn.
527
527
  */
528
- lineOpacity?: Value<number, ['zoom', 'feature', 'feature-state']>;
528
+ lineOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
529
529
 
530
530
  /**
531
531
  * The transition affecting any changes to this layer’s lineOpacity property.
@@ -536,7 +536,7 @@ export interface LineLayerStyleProps {
536
536
  *
537
537
  * @disabledBy linePattern
538
538
  */
539
- lineColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
539
+ lineColor?: Value<string, ["zoom", "feature", "feature-state"]>;
540
540
 
541
541
  /**
542
542
  * The transition affecting any changes to this layer’s lineColor property.
@@ -545,7 +545,7 @@ export interface LineLayerStyleProps {
545
545
  /**
546
546
  * The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.
547
547
  */
548
- lineTranslate?: Value<Translation, ['zoom']>;
548
+ lineTranslate?: Value<Translation, ["zoom"]>;
549
549
 
550
550
  /**
551
551
  * The transition affecting any changes to this layer’s lineTranslate property.
@@ -558,12 +558,12 @@ export interface LineLayerStyleProps {
558
558
  */
559
559
  lineTranslateAnchor?: Value<
560
560
  Enum<LineTranslateAnchorEnum, LineTranslateAnchorEnumValues>,
561
- ['zoom']
561
+ ["zoom"]
562
562
  >;
563
563
  /**
564
564
  * Stroke thickness.
565
565
  */
566
- lineWidth?: Value<number, ['zoom', 'feature', 'feature-state']>;
566
+ lineWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
567
567
 
568
568
  /**
569
569
  * The transition affecting any changes to this layer’s lineWidth property.
@@ -572,7 +572,7 @@ export interface LineLayerStyleProps {
572
572
  /**
573
573
  * Draws a line casing outside of a line's actual path. Value indicates the width of the inner gap.
574
574
  */
575
- lineGapWidth?: Value<number, ['zoom', 'feature', 'feature-state']>;
575
+ lineGapWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
576
576
 
577
577
  /**
578
578
  * The transition affecting any changes to this layer’s lineGapWidth property.
@@ -581,7 +581,7 @@ export interface LineLayerStyleProps {
581
581
  /**
582
582
  * The line's offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For polygon features, a positive value results in an inset, and a negative value results in an outset.
583
583
  */
584
- lineOffset?: Value<number, ['zoom', 'feature', 'feature-state']>;
584
+ lineOffset?: Value<number, ["zoom", "feature", "feature-state"]>;
585
585
 
586
586
  /**
587
587
  * The transition affecting any changes to this layer’s lineOffset property.
@@ -590,7 +590,7 @@ export interface LineLayerStyleProps {
590
590
  /**
591
591
  * Blur applied to the line, in pixels.
592
592
  */
593
- lineBlur?: Value<number, ['zoom', 'feature', 'feature-state']>;
593
+ lineBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
594
594
 
595
595
  /**
596
596
  * The transition affecting any changes to this layer’s lineBlur property.
@@ -601,7 +601,7 @@ export interface LineLayerStyleProps {
601
601
  *
602
602
  * @disabledBy linePattern
603
603
  */
604
- lineDasharray?: Value<number[], ['zoom']>;
604
+ lineDasharray?: Value<number[], ["zoom"]>;
605
605
 
606
606
  /**
607
607
  * The transition affecting any changes to this layer’s lineDasharray property.
@@ -610,7 +610,7 @@ export interface LineLayerStyleProps {
610
610
  /**
611
611
  * Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that zoomDependent expressions will be evaluated only at integer zoom levels.
612
612
  */
613
- linePattern?: Value<ResolvedImageType, ['zoom', 'feature']>;
613
+ linePattern?: Value<ResolvedImageType, ["zoom", "feature"]>;
614
614
 
615
615
  /**
616
616
  * The transition affecting any changes to this layer’s linePattern property.
@@ -621,7 +621,7 @@ export interface LineLayerStyleProps {
621
621
  *
622
622
  * @disabledBy lineDasharray, linePattern
623
623
  */
624
- lineGradient?: Value<string, ['line-progress']>;
624
+ lineGradient?: Value<string, ["line-progress"]>;
625
625
  }
626
626
  export interface SymbolLayerStyleProps {
627
627
  /**
@@ -629,26 +629,26 @@ export interface SymbolLayerStyleProps {
629
629
  */
630
630
  symbolPlacement?: Value<
631
631
  Enum<SymbolPlacementEnum, SymbolPlacementEnumValues>,
632
- ['zoom']
632
+ ["zoom"]
633
633
  >;
634
634
  /**
635
635
  * Distance between two symbol anchors.
636
636
  */
637
- symbolSpacing?: Value<number, ['zoom']>;
637
+ symbolSpacing?: Value<number, ["zoom"]>;
638
638
  /**
639
639
  * If true, the symbols will not cross tile edges to avoid mutual collisions. Recommended in layers that don't have enough padding in the vector tile to prevent collisions, or if it is a point symbol layer placed after a line symbol layer. When using a client that supports global collision detection, like MapLibre GL JS version 0.42.0 or greater, enabling this property is not needed to prevent clipped labels at tile boundaries.
640
640
  */
641
- symbolAvoidEdges?: Value<boolean, ['zoom']>;
641
+ symbolAvoidEdges?: Value<boolean, ["zoom"]>;
642
642
  /**
643
643
  * Sorts features in ascending order based on this value. Features with lower sort keys are drawn and placed first. When `iconAllowOverlap` or `textAllowOverlap` is `false`, features with a lower sort key will have priority during placement. When `iconAllowOverlap` or `textAllowOverlap` is set to `true`, features with a higher sort key will overlap over features with a lower sort key.
644
644
  */
645
- symbolSortKey?: Value<number, ['zoom', 'feature']>;
645
+ symbolSortKey?: Value<number, ["zoom", "feature"]>;
646
646
  /**
647
647
  * Determines whether overlapping symbols in the same layer are rendered in the order that they appear in the data source or by their yPosition relative to the viewport. To control the order and prioritization of symbols otherwise, use `symbolSortKey`.
648
648
  */
649
649
  symbolZOrder?: Value<
650
650
  Enum<SymbolZOrderEnum, SymbolZOrderEnumValues>,
651
- ['zoom']
651
+ ["zoom"]
652
652
  >;
653
653
  /**
654
654
  * If true, the icon will be visible even if it collides with other previously drawn symbols.
@@ -657,19 +657,19 @@ export interface SymbolLayerStyleProps {
657
657
  *
658
658
  * @disabledBy iconOverlap
659
659
  */
660
- iconAllowOverlap?: Value<boolean, ['zoom']>;
660
+ iconAllowOverlap?: Value<boolean, ["zoom"]>;
661
661
  /**
662
662
  * If true, other symbols can be visible even if they collide with the icon.
663
663
  *
664
664
  * @requires iconImage
665
665
  */
666
- iconIgnorePlacement?: Value<boolean, ['zoom']>;
666
+ iconIgnorePlacement?: Value<boolean, ["zoom"]>;
667
667
  /**
668
668
  * If true, text will display without their corresponding icons when the icon collides with other symbols and the text does not.
669
669
  *
670
670
  * @requires iconImage, textField
671
671
  */
672
- iconOptional?: Value<boolean, ['zoom']>;
672
+ iconOptional?: Value<boolean, ["zoom"]>;
673
673
  /**
674
674
  * In combination with `symbolPlacement`, determines the rotation behavior of icons.
675
675
  *
@@ -677,54 +677,54 @@ export interface SymbolLayerStyleProps {
677
677
  */
678
678
  iconRotationAlignment?: Value<
679
679
  Enum<IconRotationAlignmentEnum, IconRotationAlignmentEnumValues>,
680
- ['zoom']
680
+ ["zoom"]
681
681
  >;
682
682
  /**
683
683
  * Scales the original size of the icon by the provided factor. The new pixel size of the image will be the original pixel size multiplied by `iconSize`. 1 is the original size; 3 triples the size of the image.
684
684
  *
685
685
  * @requires iconImage
686
686
  */
687
- iconSize?: Value<number, ['zoom', 'feature']>;
687
+ iconSize?: Value<number, ["zoom", "feature"]>;
688
688
  /**
689
689
  * Scales the icon to fit around the associated text.
690
690
  *
691
691
  * @requires iconImage, textField
692
692
  */
693
- iconTextFit?: Value<Enum<IconTextFitEnum, IconTextFitEnumValues>, ['zoom']>;
693
+ iconTextFit?: Value<Enum<IconTextFitEnum, IconTextFitEnumValues>, ["zoom"]>;
694
694
  /**
695
695
  * Size of the additional area added to dimensions determined by `iconTextFit`, in clockwise order: top, right, bottom, left.
696
696
  *
697
697
  * @requires iconImage, textField
698
698
  */
699
- iconTextFitPadding?: Value<number[], ['zoom']>;
699
+ iconTextFitPadding?: Value<number[], ["zoom"]>;
700
700
  /**
701
701
  * Name of image in sprite to use for drawing an image background.
702
702
  */
703
- iconImage?: Value<ResolvedImageType, ['zoom', 'feature']>;
703
+ iconImage?: Value<ResolvedImageType, ["zoom", "feature"]>;
704
704
  /**
705
705
  * Rotates the icon clockwise.
706
706
  *
707
707
  * @requires iconImage
708
708
  */
709
- iconRotate?: Value<number, ['zoom', 'feature']>;
709
+ iconRotate?: Value<number, ["zoom", "feature"]>;
710
710
  /**
711
711
  * Size of additional area round the icon bounding box used for detecting symbol collisions. Values are declared using CSS margin shorthand syntax: a single value applies to all four sides; two values apply to [top/bottom, left/right]; three values apply to [top, left/right, bottom]; four values apply to [top, right, bottom, left]. For backwards compatibility, a single bare number is accepted, and treated the same as a oneElement array padding applied to all sides.
712
712
  *
713
713
  * @requires iconImage
714
714
  */
715
- iconPadding?: Value<number, ['zoom', 'feature']>;
715
+ iconPadding?: Value<number, ["zoom", "feature"]>;
716
716
  /**
717
717
  * If true, the icon may be flipped to prevent it from being rendered upsideDown.
718
718
  *
719
719
  * @requires iconImage
720
720
  */
721
- iconKeepUpright?: Value<boolean, ['zoom']>;
721
+ iconKeepUpright?: Value<boolean, ["zoom"]>;
722
722
  /**
723
723
  * Offset distance of icon from its anchor. Positive values indicate right and down, while negative values indicate left and up. Each component is multiplied by the value of `iconSize` to obtain the final offset in pixels. When combined with `iconRotate` the offset will be as if the rotated direction was up.
724
724
  *
725
725
  * @requires iconImage
726
726
  */
727
- iconOffset?: Value<number[], ['zoom', 'feature']>;
727
+ iconOffset?: Value<number[], ["zoom", "feature"]>;
728
728
  /**
729
729
  * Part of the icon placed closest to the anchor.
730
730
  *
@@ -732,7 +732,7 @@ export interface SymbolLayerStyleProps {
732
732
  */
733
733
  iconAnchor?: Value<
734
734
  Enum<IconAnchorEnum, IconAnchorEnumValues>,
735
- ['zoom', 'feature']
735
+ ["zoom", "feature"]
736
736
  >;
737
737
  /**
738
738
  * Orientation of icon when map is pitched.
@@ -741,7 +741,7 @@ export interface SymbolLayerStyleProps {
741
741
  */
742
742
  iconPitchAlignment?: Value<
743
743
  Enum<IconPitchAlignmentEnum, IconPitchAlignmentEnumValues>,
744
- ['zoom']
744
+ ["zoom"]
745
745
  >;
746
746
  /**
747
747
  * Orientation of text when map is pitched.
@@ -750,7 +750,7 @@ export interface SymbolLayerStyleProps {
750
750
  */
751
751
  textPitchAlignment?: Value<
752
752
  Enum<TextPitchAlignmentEnum, TextPitchAlignmentEnumValues>,
753
- ['zoom']
753
+ ["zoom"]
754
754
  >;
755
755
  /**
756
756
  * In combination with `symbolPlacement`, determines the rotation behavior of the individual glyphs forming the text.
@@ -759,42 +759,42 @@ export interface SymbolLayerStyleProps {
759
759
  */
760
760
  textRotationAlignment?: Value<
761
761
  Enum<TextRotationAlignmentEnum, TextRotationAlignmentEnumValues>,
762
- ['zoom']
762
+ ["zoom"]
763
763
  >;
764
764
  /**
765
765
  * Value to use for a text label. If a plain `string` is provided, it will be treated as a `formatted` with default/inherited formatting options.
766
766
  */
767
- textField?: Value<FormattedString, ['zoom', 'feature']>;
767
+ textField?: Value<FormattedString, ["zoom", "feature"]>;
768
768
  /**
769
769
  * Font stack to use for displaying text.
770
770
  *
771
771
  * @requires textField
772
772
  */
773
- textFont?: Value<string[], ['zoom', 'feature']>;
773
+ textFont?: Value<string[], ["zoom", "feature"]>;
774
774
  /**
775
775
  * Font size.
776
776
  *
777
777
  * @requires textField
778
778
  */
779
- textSize?: Value<number, ['zoom', 'feature']>;
779
+ textSize?: Value<number, ["zoom", "feature"]>;
780
780
  /**
781
781
  * The maximum line width for text wrapping.
782
782
  *
783
783
  * @requires textField
784
784
  */
785
- textMaxWidth?: Value<number, ['zoom', 'feature']>;
785
+ textMaxWidth?: Value<number, ["zoom", "feature"]>;
786
786
  /**
787
787
  * Text leading value for multiLine text.
788
788
  *
789
789
  * @requires textField
790
790
  */
791
- textLineHeight?: Value<number, ['zoom']>;
791
+ textLineHeight?: Value<number, ["zoom"]>;
792
792
  /**
793
793
  * Text tracking amount.
794
794
  *
795
795
  * @requires textField
796
796
  */
797
- textLetterSpacing?: Value<number, ['zoom', 'feature']>;
797
+ textLetterSpacing?: Value<number, ["zoom", "feature"]>;
798
798
  /**
799
799
  * Text justification options.
800
800
  *
@@ -802,14 +802,14 @@ export interface SymbolLayerStyleProps {
802
802
  */
803
803
  textJustify?: Value<
804
804
  Enum<TextJustifyEnum, TextJustifyEnumValues>,
805
- ['zoom', 'feature']
805
+ ["zoom", "feature"]
806
806
  >;
807
807
  /**
808
808
  * Radial offset of text, in the direction of the symbol's anchor. Useful in combination with `textVariableAnchor`, which defaults to using the twoDimensional `textOffset` if present.
809
809
  *
810
810
  * @requires textField
811
811
  */
812
- textRadialOffset?: Value<number, ['zoom', 'feature']>;
812
+ textRadialOffset?: Value<number, ["zoom", "feature"]>;
813
813
  /**
814
814
  * To increase the chance of placing highPriority labels on the map, you can provide an array of `textAnchor` locations: the renderer will attempt to place the label at each location, in order, before moving onto the next label. Use `textJustify: auto` to choose justification based on anchor position. To apply an offset, use the `textRadialOffset` or the twoDimensional `textOffset`.
815
815
  *
@@ -817,7 +817,7 @@ export interface SymbolLayerStyleProps {
817
817
  */
818
818
  textVariableAnchor?: Value<
819
819
  Enum<TextVariableAnchorEnum, TextVariableAnchorEnumValues>[],
820
- ['zoom']
820
+ ["zoom"]
821
821
  >;
822
822
  /**
823
823
  * Part of the text placed closest to the anchor.
@@ -828,14 +828,14 @@ export interface SymbolLayerStyleProps {
828
828
  */
829
829
  textAnchor?: Value<
830
830
  Enum<TextAnchorEnum, TextAnchorEnumValues>,
831
- ['zoom', 'feature']
831
+ ["zoom", "feature"]
832
832
  >;
833
833
  /**
834
834
  * Maximum angle change between adjacent characters.
835
835
  *
836
836
  * @requires textField
837
837
  */
838
- textMaxAngle?: Value<number, ['zoom']>;
838
+ textMaxAngle?: Value<number, ["zoom"]>;
839
839
  /**
840
840
  * The property allows control over a symbol's orientation. Note that the property values act as a hint, so that a symbol whose language doesn’t support the provided orientation will be laid out in its natural orientation. Example: English point symbol will be rendered horizontally even if array value contains single 'vertical' enum value. The order of elements in an array define priority order for the placement of an orientation variant.
841
841
  *
@@ -843,26 +843,26 @@ export interface SymbolLayerStyleProps {
843
843
  */
844
844
  textWritingMode?: Value<
845
845
  Enum<TextWritingModeEnum, TextWritingModeEnumValues>[],
846
- ['zoom']
846
+ ["zoom"]
847
847
  >;
848
848
  /**
849
849
  * Rotates the text clockwise.
850
850
  *
851
851
  * @requires textField
852
852
  */
853
- textRotate?: Value<number, ['zoom', 'feature']>;
853
+ textRotate?: Value<number, ["zoom", "feature"]>;
854
854
  /**
855
855
  * Size of the additional area around the text bounding box used for detecting symbol collisions.
856
856
  *
857
857
  * @requires textField
858
858
  */
859
- textPadding?: Value<number, ['zoom']>;
859
+ textPadding?: Value<number, ["zoom"]>;
860
860
  /**
861
861
  * If true, the text may be flipped vertically to prevent it from being rendered upsideDown.
862
862
  *
863
863
  * @requires textField
864
864
  */
865
- textKeepUpright?: Value<boolean, ['zoom']>;
865
+ textKeepUpright?: Value<boolean, ["zoom"]>;
866
866
  /**
867
867
  * Specifies how to capitalize text, similar to the CSS `textTransform` property.
868
868
  *
@@ -870,7 +870,7 @@ export interface SymbolLayerStyleProps {
870
870
  */
871
871
  textTransform?: Value<
872
872
  Enum<TextTransformEnum, TextTransformEnumValues>,
873
- ['zoom', 'feature']
873
+ ["zoom", "feature"]
874
874
  >;
875
875
  /**
876
876
  * Offset distance of text from its anchor. Positive values indicate right and down, while negative values indicate left and up. If used with textVariableAnchor, input values will be taken as absolute values. Offsets along the x and yAxis will be applied automatically based on the anchor position.
@@ -879,7 +879,7 @@ export interface SymbolLayerStyleProps {
879
879
  *
880
880
  * @disabledBy textRadialOffset
881
881
  */
882
- textOffset?: Value<number[], ['zoom', 'feature']>;
882
+ textOffset?: Value<number[], ["zoom", "feature"]>;
883
883
  /**
884
884
  * If true, the text will be visible even if it collides with other previously drawn symbols.
885
885
  *
@@ -887,19 +887,19 @@ export interface SymbolLayerStyleProps {
887
887
  *
888
888
  * @disabledBy textOverlap
889
889
  */
890
- textAllowOverlap?: Value<boolean, ['zoom']>;
890
+ textAllowOverlap?: Value<boolean, ["zoom"]>;
891
891
  /**
892
892
  * If true, other symbols can be visible even if they collide with the text.
893
893
  *
894
894
  * @requires textField
895
895
  */
896
- textIgnorePlacement?: Value<boolean, ['zoom']>;
896
+ textIgnorePlacement?: Value<boolean, ["zoom"]>;
897
897
  /**
898
898
  * If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not.
899
899
  *
900
900
  * @requires textField, iconImage
901
901
  */
902
- textOptional?: Value<boolean, ['zoom']>;
902
+ textOptional?: Value<boolean, ["zoom"]>;
903
903
  /**
904
904
  * Whether this layer is displayed.
905
905
  */
@@ -909,7 +909,7 @@ export interface SymbolLayerStyleProps {
909
909
  *
910
910
  * @requires iconImage
911
911
  */
912
- iconOpacity?: Value<number, ['zoom', 'feature', 'feature-state']>;
912
+ iconOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
913
913
 
914
914
  /**
915
915
  * The transition affecting any changes to this layer’s iconOpacity property.
@@ -920,7 +920,7 @@ export interface SymbolLayerStyleProps {
920
920
  *
921
921
  * @requires iconImage
922
922
  */
923
- iconColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
923
+ iconColor?: Value<string, ["zoom", "feature", "feature-state"]>;
924
924
 
925
925
  /**
926
926
  * The transition affecting any changes to this layer’s iconColor property.
@@ -931,7 +931,7 @@ export interface SymbolLayerStyleProps {
931
931
  *
932
932
  * @requires iconImage
933
933
  */
934
- iconHaloColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
934
+ iconHaloColor?: Value<string, ["zoom", "feature", "feature-state"]>;
935
935
 
936
936
  /**
937
937
  * The transition affecting any changes to this layer’s iconHaloColor property.
@@ -942,7 +942,7 @@ export interface SymbolLayerStyleProps {
942
942
  *
943
943
  * @requires iconImage
944
944
  */
945
- iconHaloWidth?: Value<number, ['zoom', 'feature', 'feature-state']>;
945
+ iconHaloWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
946
946
 
947
947
  /**
948
948
  * The transition affecting any changes to this layer’s iconHaloWidth property.
@@ -953,7 +953,7 @@ export interface SymbolLayerStyleProps {
953
953
  *
954
954
  * @requires iconImage
955
955
  */
956
- iconHaloBlur?: Value<number, ['zoom', 'feature', 'feature-state']>;
956
+ iconHaloBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
957
957
 
958
958
  /**
959
959
  * The transition affecting any changes to this layer’s iconHaloBlur property.
@@ -964,7 +964,7 @@ export interface SymbolLayerStyleProps {
964
964
  *
965
965
  * @requires iconImage
966
966
  */
967
- iconTranslate?: Value<Translation, ['zoom']>;
967
+ iconTranslate?: Value<Translation, ["zoom"]>;
968
968
 
969
969
  /**
970
970
  * The transition affecting any changes to this layer’s iconTranslate property.
@@ -977,14 +977,14 @@ export interface SymbolLayerStyleProps {
977
977
  */
978
978
  iconTranslateAnchor?: Value<
979
979
  Enum<IconTranslateAnchorEnum, IconTranslateAnchorEnumValues>,
980
- ['zoom']
980
+ ["zoom"]
981
981
  >;
982
982
  /**
983
983
  * The opacity at which the text will be drawn.
984
984
  *
985
985
  * @requires textField
986
986
  */
987
- textOpacity?: Value<number, ['zoom', 'feature', 'feature-state']>;
987
+ textOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
988
988
 
989
989
  /**
990
990
  * The transition affecting any changes to this layer’s textOpacity property.
@@ -995,7 +995,7 @@ export interface SymbolLayerStyleProps {
995
995
  *
996
996
  * @requires textField
997
997
  */
998
- textColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
998
+ textColor?: Value<string, ["zoom", "feature", "feature-state"]>;
999
999
 
1000
1000
  /**
1001
1001
  * The transition affecting any changes to this layer’s textColor property.
@@ -1006,7 +1006,7 @@ export interface SymbolLayerStyleProps {
1006
1006
  *
1007
1007
  * @requires textField
1008
1008
  */
1009
- textHaloColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
1009
+ textHaloColor?: Value<string, ["zoom", "feature", "feature-state"]>;
1010
1010
 
1011
1011
  /**
1012
1012
  * The transition affecting any changes to this layer’s textHaloColor property.
@@ -1017,7 +1017,7 @@ export interface SymbolLayerStyleProps {
1017
1017
  *
1018
1018
  * @requires textField
1019
1019
  */
1020
- textHaloWidth?: Value<number, ['zoom', 'feature', 'feature-state']>;
1020
+ textHaloWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
1021
1021
 
1022
1022
  /**
1023
1023
  * The transition affecting any changes to this layer’s textHaloWidth property.
@@ -1028,7 +1028,7 @@ export interface SymbolLayerStyleProps {
1028
1028
  *
1029
1029
  * @requires textField
1030
1030
  */
1031
- textHaloBlur?: Value<number, ['zoom', 'feature', 'feature-state']>;
1031
+ textHaloBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
1032
1032
 
1033
1033
  /**
1034
1034
  * The transition affecting any changes to this layer’s textHaloBlur property.
@@ -1039,7 +1039,7 @@ export interface SymbolLayerStyleProps {
1039
1039
  *
1040
1040
  * @requires textField
1041
1041
  */
1042
- textTranslate?: Value<Translation, ['zoom']>;
1042
+ textTranslate?: Value<Translation, ["zoom"]>;
1043
1043
 
1044
1044
  /**
1045
1045
  * The transition affecting any changes to this layer’s textTranslate property.
@@ -1052,14 +1052,14 @@ export interface SymbolLayerStyleProps {
1052
1052
  */
1053
1053
  textTranslateAnchor?: Value<
1054
1054
  Enum<TextTranslateAnchorEnum, TextTranslateAnchorEnumValues>,
1055
- ['zoom']
1055
+ ["zoom"]
1056
1056
  >;
1057
1057
  }
1058
1058
  export interface CircleLayerStyleProps {
1059
1059
  /**
1060
1060
  * Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
1061
1061
  */
1062
- circleSortKey?: Value<number, ['zoom', 'feature']>;
1062
+ circleSortKey?: Value<number, ["zoom", "feature"]>;
1063
1063
  /**
1064
1064
  * Whether this layer is displayed.
1065
1065
  */
@@ -1067,7 +1067,7 @@ export interface CircleLayerStyleProps {
1067
1067
  /**
1068
1068
  * Circle radius.
1069
1069
  */
1070
- circleRadius?: Value<number, ['zoom', 'feature', 'feature-state']>;
1070
+ circleRadius?: Value<number, ["zoom", "feature", "feature-state"]>;
1071
1071
 
1072
1072
  /**
1073
1073
  * The transition affecting any changes to this layer’s circleRadius property.
@@ -1076,7 +1076,7 @@ export interface CircleLayerStyleProps {
1076
1076
  /**
1077
1077
  * The fill color of the circle.
1078
1078
  */
1079
- circleColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
1079
+ circleColor?: Value<string, ["zoom", "feature", "feature-state"]>;
1080
1080
 
1081
1081
  /**
1082
1082
  * The transition affecting any changes to this layer’s circleColor property.
@@ -1085,7 +1085,7 @@ export interface CircleLayerStyleProps {
1085
1085
  /**
1086
1086
  * Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.
1087
1087
  */
1088
- circleBlur?: Value<number, ['zoom', 'feature', 'feature-state']>;
1088
+ circleBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
1089
1089
 
1090
1090
  /**
1091
1091
  * The transition affecting any changes to this layer’s circleBlur property.
@@ -1094,7 +1094,7 @@ export interface CircleLayerStyleProps {
1094
1094
  /**
1095
1095
  * The opacity at which the circle will be drawn.
1096
1096
  */
1097
- circleOpacity?: Value<number, ['zoom', 'feature', 'feature-state']>;
1097
+ circleOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
1098
1098
 
1099
1099
  /**
1100
1100
  * The transition affecting any changes to this layer’s circleOpacity property.
@@ -1103,7 +1103,7 @@ export interface CircleLayerStyleProps {
1103
1103
  /**
1104
1104
  * The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.
1105
1105
  */
1106
- circleTranslate?: Value<Translation, ['zoom']>;
1106
+ circleTranslate?: Value<Translation, ["zoom"]>;
1107
1107
 
1108
1108
  /**
1109
1109
  * The transition affecting any changes to this layer’s circleTranslate property.
@@ -1116,26 +1116,26 @@ export interface CircleLayerStyleProps {
1116
1116
  */
1117
1117
  circleTranslateAnchor?: Value<
1118
1118
  Enum<CircleTranslateAnchorEnum, CircleTranslateAnchorEnumValues>,
1119
- ['zoom']
1119
+ ["zoom"]
1120
1120
  >;
1121
1121
  /**
1122
1122
  * Controls the scaling behavior of the circle when the map is pitched.
1123
1123
  */
1124
1124
  circlePitchScale?: Value<
1125
1125
  Enum<CirclePitchScaleEnum, CirclePitchScaleEnumValues>,
1126
- ['zoom']
1126
+ ["zoom"]
1127
1127
  >;
1128
1128
  /**
1129
1129
  * Orientation of circle when map is pitched.
1130
1130
  */
1131
1131
  circlePitchAlignment?: Value<
1132
1132
  Enum<CirclePitchAlignmentEnum, CirclePitchAlignmentEnumValues>,
1133
- ['zoom']
1133
+ ["zoom"]
1134
1134
  >;
1135
1135
  /**
1136
1136
  * The width of the circle's stroke. Strokes are placed outside of the `circleRadius`.
1137
1137
  */
1138
- circleStrokeWidth?: Value<number, ['zoom', 'feature', 'feature-state']>;
1138
+ circleStrokeWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
1139
1139
 
1140
1140
  /**
1141
1141
  * The transition affecting any changes to this layer’s circleStrokeWidth property.
@@ -1144,7 +1144,7 @@ export interface CircleLayerStyleProps {
1144
1144
  /**
1145
1145
  * The stroke color of the circle.
1146
1146
  */
1147
- circleStrokeColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
1147
+ circleStrokeColor?: Value<string, ["zoom", "feature", "feature-state"]>;
1148
1148
 
1149
1149
  /**
1150
1150
  * The transition affecting any changes to this layer’s circleStrokeColor property.
@@ -1153,7 +1153,7 @@ export interface CircleLayerStyleProps {
1153
1153
  /**
1154
1154
  * The opacity of the circle's stroke.
1155
1155
  */
1156
- circleStrokeOpacity?: Value<number, ['zoom', 'feature', 'feature-state']>;
1156
+ circleStrokeOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
1157
1157
 
1158
1158
  /**
1159
1159
  * The transition affecting any changes to this layer’s circleStrokeOpacity property.
@@ -1168,7 +1168,7 @@ export interface HeatmapLayerStyleProps {
1168
1168
  /**
1169
1169
  * Radius of influence of one heatmap point in pixels. Increasing the value makes the heatmap smoother, but less detailed.
1170
1170
  */
1171
- heatmapRadius?: Value<number, ['zoom', 'feature', 'feature-state']>;
1171
+ heatmapRadius?: Value<number, ["zoom", "feature", "feature-state"]>;
1172
1172
 
1173
1173
  /**
1174
1174
  * The transition affecting any changes to this layer’s heatmapRadius property.
@@ -1177,11 +1177,11 @@ export interface HeatmapLayerStyleProps {
1177
1177
  /**
1178
1178
  * A measure of how much an individual point contributes to the heatmap. A value of 10 would be equivalent to having 10 points of weight 1 in the same spot. Especially useful when combined with clustering.
1179
1179
  */
1180
- heatmapWeight?: Value<number, ['zoom', 'feature', 'feature-state']>;
1180
+ heatmapWeight?: Value<number, ["zoom", "feature", "feature-state"]>;
1181
1181
  /**
1182
1182
  * Similar to `heatmapWeight` but controls the intensity of the heatmap globally. Primarily used for adjusting the heatmap based on zoom level.
1183
1183
  */
1184
- heatmapIntensity?: Value<number, ['zoom']>;
1184
+ heatmapIntensity?: Value<number, ["zoom"]>;
1185
1185
 
1186
1186
  /**
1187
1187
  * The transition affecting any changes to this layer’s heatmapIntensity property.
@@ -1190,11 +1190,11 @@ export interface HeatmapLayerStyleProps {
1190
1190
  /**
1191
1191
  * Defines the color of each pixel based on its density value in a heatmap. Should be an expression that uses `["heatmapDensity"]` as input.
1192
1192
  */
1193
- heatmapColor?: Value<string, ['heatmap-density']>;
1193
+ heatmapColor?: Value<string, ["heatmap-density"]>;
1194
1194
  /**
1195
1195
  * The global opacity at which the heatmap layer will be drawn.
1196
1196
  */
1197
- heatmapOpacity?: Value<number, ['zoom']>;
1197
+ heatmapOpacity?: Value<number, ["zoom"]>;
1198
1198
 
1199
1199
  /**
1200
1200
  * The transition affecting any changes to this layer’s heatmapOpacity property.
@@ -1209,7 +1209,7 @@ export interface FillExtrusionLayerStyleProps {
1209
1209
  /**
1210
1210
  * The opacity of the entire fill extrusion layer. This is rendered on a perLayer, not perFeature, basis, and dataDriven styling is not available.
1211
1211
  */
1212
- fillExtrusionOpacity?: Value<number, ['zoom']>;
1212
+ fillExtrusionOpacity?: Value<number, ["zoom"]>;
1213
1213
 
1214
1214
  /**
1215
1215
  * The transition affecting any changes to this layer’s fillExtrusionOpacity property.
@@ -1220,7 +1220,7 @@ export interface FillExtrusionLayerStyleProps {
1220
1220
  *
1221
1221
  * @disabledBy fillExtrusionPattern
1222
1222
  */
1223
- fillExtrusionColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
1223
+ fillExtrusionColor?: Value<string, ["zoom", "feature", "feature-state"]>;
1224
1224
 
1225
1225
  /**
1226
1226
  * The transition affecting any changes to this layer’s fillExtrusionColor property.
@@ -1229,7 +1229,7 @@ export interface FillExtrusionLayerStyleProps {
1229
1229
  /**
1230
1230
  * The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.
1231
1231
  */
1232
- fillExtrusionTranslate?: Value<Translation, ['zoom']>;
1232
+ fillExtrusionTranslate?: Value<Translation, ["zoom"]>;
1233
1233
 
1234
1234
  /**
1235
1235
  * The transition affecting any changes to this layer’s fillExtrusionTranslate property.
@@ -1245,12 +1245,12 @@ export interface FillExtrusionLayerStyleProps {
1245
1245
  FillExtrusionTranslateAnchorEnum,
1246
1246
  FillExtrusionTranslateAnchorEnumValues
1247
1247
  >,
1248
- ['zoom']
1248
+ ["zoom"]
1249
1249
  >;
1250
1250
  /**
1251
1251
  * Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoomDependent expressions will be evaluated only at integer zoom levels.
1252
1252
  */
1253
- fillExtrusionPattern?: Value<ResolvedImageType, ['zoom', 'feature']>;
1253
+ fillExtrusionPattern?: Value<ResolvedImageType, ["zoom", "feature"]>;
1254
1254
 
1255
1255
  /**
1256
1256
  * The transition affecting any changes to this layer’s fillExtrusionPattern property.
@@ -1259,7 +1259,7 @@ export interface FillExtrusionLayerStyleProps {
1259
1259
  /**
1260
1260
  * The height with which to extrude this layer.
1261
1261
  */
1262
- fillExtrusionHeight?: Value<number, ['zoom', 'feature', 'feature-state']>;
1262
+ fillExtrusionHeight?: Value<number, ["zoom", "feature", "feature-state"]>;
1263
1263
 
1264
1264
  /**
1265
1265
  * The transition affecting any changes to this layer’s fillExtrusionHeight property.
@@ -1270,7 +1270,7 @@ export interface FillExtrusionLayerStyleProps {
1270
1270
  *
1271
1271
  * @requires fillExtrusionHeight
1272
1272
  */
1273
- fillExtrusionBase?: Value<number, ['zoom', 'feature', 'feature-state']>;
1273
+ fillExtrusionBase?: Value<number, ["zoom", "feature", "feature-state"]>;
1274
1274
 
1275
1275
  /**
1276
1276
  * The transition affecting any changes to this layer’s fillExtrusionBase property.
@@ -1285,7 +1285,7 @@ export interface RasterLayerStyleProps {
1285
1285
  /**
1286
1286
  * The opacity at which the image will be drawn.
1287
1287
  */
1288
- rasterOpacity?: Value<number, ['zoom']>;
1288
+ rasterOpacity?: Value<number, ["zoom"]>;
1289
1289
 
1290
1290
  /**
1291
1291
  * The transition affecting any changes to this layer’s rasterOpacity property.
@@ -1294,7 +1294,7 @@ export interface RasterLayerStyleProps {
1294
1294
  /**
1295
1295
  * Rotates hues around the color wheel.
1296
1296
  */
1297
- rasterHueRotate?: Value<number, ['zoom']>;
1297
+ rasterHueRotate?: Value<number, ["zoom"]>;
1298
1298
 
1299
1299
  /**
1300
1300
  * The transition affecting any changes to this layer’s rasterHueRotate property.
@@ -1303,7 +1303,7 @@ export interface RasterLayerStyleProps {
1303
1303
  /**
1304
1304
  * Increase or reduce the brightness of the image. The value is the minimum brightness.
1305
1305
  */
1306
- rasterBrightnessMin?: Value<number, ['zoom']>;
1306
+ rasterBrightnessMin?: Value<number, ["zoom"]>;
1307
1307
 
1308
1308
  /**
1309
1309
  * The transition affecting any changes to this layer’s rasterBrightnessMin property.
@@ -1312,7 +1312,7 @@ export interface RasterLayerStyleProps {
1312
1312
  /**
1313
1313
  * Increase or reduce the brightness of the image. The value is the maximum brightness.
1314
1314
  */
1315
- rasterBrightnessMax?: Value<number, ['zoom']>;
1315
+ rasterBrightnessMax?: Value<number, ["zoom"]>;
1316
1316
 
1317
1317
  /**
1318
1318
  * The transition affecting any changes to this layer’s rasterBrightnessMax property.
@@ -1321,7 +1321,7 @@ export interface RasterLayerStyleProps {
1321
1321
  /**
1322
1322
  * Increase or reduce the saturation of the image.
1323
1323
  */
1324
- rasterSaturation?: Value<number, ['zoom']>;
1324
+ rasterSaturation?: Value<number, ["zoom"]>;
1325
1325
 
1326
1326
  /**
1327
1327
  * The transition affecting any changes to this layer’s rasterSaturation property.
@@ -1330,7 +1330,7 @@ export interface RasterLayerStyleProps {
1330
1330
  /**
1331
1331
  * Increase or reduce the contrast of the image.
1332
1332
  */
1333
- rasterContrast?: Value<number, ['zoom']>;
1333
+ rasterContrast?: Value<number, ["zoom"]>;
1334
1334
 
1335
1335
  /**
1336
1336
  * The transition affecting any changes to this layer’s rasterContrast property.
@@ -1341,12 +1341,12 @@ export interface RasterLayerStyleProps {
1341
1341
  */
1342
1342
  rasterResampling?: Value<
1343
1343
  Enum<RasterResamplingEnum, RasterResamplingEnumValues>,
1344
- ['zoom']
1344
+ ["zoom"]
1345
1345
  >;
1346
1346
  /**
1347
1347
  * Fade duration when a new tile is added.
1348
1348
  */
1349
- rasterFadeDuration?: Value<number, ['zoom']>;
1349
+ rasterFadeDuration?: Value<number, ["zoom"]>;
1350
1350
  }
1351
1351
  export interface HillshadeLayerStyleProps {
1352
1352
  /**
@@ -1356,7 +1356,7 @@ export interface HillshadeLayerStyleProps {
1356
1356
  /**
1357
1357
  * The direction of the light source used to generate the hillshading with 0 as the top of the viewport if `hillshadeIlluminationAnchor` is set to `viewport` and due north if `hillshadeIlluminationAnchor` is set to `map`.
1358
1358
  */
1359
- hillshadeIlluminationDirection?: Value<number, ['zoom']>;
1359
+ hillshadeIlluminationDirection?: Value<number, ["zoom"]>;
1360
1360
  /**
1361
1361
  * Direction of light source when map is rotated.
1362
1362
  */
@@ -1365,12 +1365,12 @@ export interface HillshadeLayerStyleProps {
1365
1365
  HillshadeIlluminationAnchorEnum,
1366
1366
  HillshadeIlluminationAnchorEnumValues
1367
1367
  >,
1368
- ['zoom']
1368
+ ["zoom"]
1369
1369
  >;
1370
1370
  /**
1371
1371
  * Intensity of the hillshade
1372
1372
  */
1373
- hillshadeExaggeration?: Value<number, ['zoom']>;
1373
+ hillshadeExaggeration?: Value<number, ["zoom"]>;
1374
1374
 
1375
1375
  /**
1376
1376
  * The transition affecting any changes to this layer’s hillshadeExaggeration property.
@@ -1379,7 +1379,7 @@ export interface HillshadeLayerStyleProps {
1379
1379
  /**
1380
1380
  * The shading color of areas that face away from the light source.
1381
1381
  */
1382
- hillshadeShadowColor?: Value<string, ['zoom']>;
1382
+ hillshadeShadowColor?: Value<string, ["zoom"]>;
1383
1383
 
1384
1384
  /**
1385
1385
  * The transition affecting any changes to this layer’s hillshadeShadowColor property.
@@ -1388,7 +1388,7 @@ export interface HillshadeLayerStyleProps {
1388
1388
  /**
1389
1389
  * The shading color of areas that faces towards the light source.
1390
1390
  */
1391
- hillshadeHighlightColor?: Value<string, ['zoom']>;
1391
+ hillshadeHighlightColor?: Value<string, ["zoom"]>;
1392
1392
 
1393
1393
  /**
1394
1394
  * The transition affecting any changes to this layer’s hillshadeHighlightColor property.
@@ -1397,7 +1397,7 @@ export interface HillshadeLayerStyleProps {
1397
1397
  /**
1398
1398
  * The shading color used to accentuate rugged terrain like sharp cliffs and gorges.
1399
1399
  */
1400
- hillshadeAccentColor?: Value<string, ['zoom']>;
1400
+ hillshadeAccentColor?: Value<string, ["zoom"]>;
1401
1401
 
1402
1402
  /**
1403
1403
  * The transition affecting any changes to this layer’s hillshadeAccentColor property.
@@ -1414,7 +1414,7 @@ export interface BackgroundLayerStyleProps {
1414
1414
  *
1415
1415
  * @disabledBy backgroundPattern
1416
1416
  */
1417
- backgroundColor?: Value<string, ['zoom']>;
1417
+ backgroundColor?: Value<string, ["zoom"]>;
1418
1418
 
1419
1419
  /**
1420
1420
  * The transition affecting any changes to this layer’s backgroundColor property.
@@ -1423,7 +1423,7 @@ export interface BackgroundLayerStyleProps {
1423
1423
  /**
1424
1424
  * Name of image in sprite to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoomDependent expressions will be evaluated only at integer zoom levels.
1425
1425
  */
1426
- backgroundPattern?: Value<ResolvedImageType, ['zoom']>;
1426
+ backgroundPattern?: Value<ResolvedImageType, ["zoom"]>;
1427
1427
 
1428
1428
  /**
1429
1429
  * The transition affecting any changes to this layer’s backgroundPattern property.
@@ -1432,7 +1432,7 @@ export interface BackgroundLayerStyleProps {
1432
1432
  /**
1433
1433
  * The opacity at which the background will be drawn.
1434
1434
  */
1435
- backgroundOpacity?: Value<number, ['zoom']>;
1435
+ backgroundOpacity?: Value<number, ["zoom"]>;
1436
1436
 
1437
1437
  /**
1438
1438
  * The transition affecting any changes to this layer’s backgroundOpacity property.
@@ -1443,11 +1443,11 @@ export interface LightLayerStyleProps {
1443
1443
  /**
1444
1444
  * Whether extruded geometries are lit relative to the map or viewport.
1445
1445
  */
1446
- anchor?: Value<Enum<AnchorEnum, AnchorEnumValues>, ['zoom']>;
1446
+ anchor?: Value<Enum<AnchorEnum, AnchorEnumValues>, ["zoom"]>;
1447
1447
  /**
1448
1448
  * Position of the light source relative to lit (extruded) geometries, in [r radial coordinate, a azimuthal angle, p polar angle] where r indicates the distance from the center of the base of an object to its light, a indicates the position of the light relative to 0° (0° when `light.anchor` is set to `viewport` corresponds to the top of the viewport, or 0° when `light.anchor` is set to `map` corresponds to due north, and degrees proceed clockwise), and p indicates the height of the light (from 0°, directly above, to 180°, directly below).
1449
1449
  */
1450
- position?: Value<number[], ['zoom']>;
1450
+ position?: Value<number[], ["zoom"]>;
1451
1451
 
1452
1452
  /**
1453
1453
  * The transition affecting any changes to this layer’s position property.
@@ -1456,7 +1456,7 @@ export interface LightLayerStyleProps {
1456
1456
  /**
1457
1457
  * Color tint for lighting extruded geometries.
1458
1458
  */
1459
- color?: Value<string, ['zoom']>;
1459
+ color?: Value<string, ["zoom"]>;
1460
1460
 
1461
1461
  /**
1462
1462
  * The transition affecting any changes to this layer’s color property.
@@ -1465,7 +1465,7 @@ export interface LightLayerStyleProps {
1465
1465
  /**
1466
1466
  * Intensity of lighting (on a scale from 0 to 1). Higher numbers will present as more extreme contrast.
1467
1467
  */
1468
- intensity?: Value<number, ['zoom']>;
1468
+ intensity?: Value<number, ["zoom"]>;
1469
1469
 
1470
1470
  /**
1471
1471
  * The transition affecting any changes to this layer’s intensity property.