@mapbox/mapbox-gl-style-spec 14.7.1 → 14.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/reference/v8.json CHANGED
@@ -204,7 +204,7 @@
204
204
  "featuresets": {
205
205
  "experimental": true,
206
206
  "type": "featuresets",
207
- "doc": "Defines sets of features for querying, interaction, and feature state manipulation.",
207
+ "doc": "Defines sets of features for querying, interaction, and state management on the map, referencing individual layers or subsets of layers within the map's style.",
208
208
  "example": {
209
209
  "poi": {
210
210
  "selectors": [
@@ -1322,7 +1322,6 @@
1322
1322
  },
1323
1323
  "clip": {
1324
1324
  "doc": "Layer that removes 3D content from map.",
1325
- "experimental": true,
1326
1325
  "sdk-support": {
1327
1326
  "basic functionality": {
1328
1327
  "js": "3.5.0",
@@ -1618,6 +1617,35 @@
1618
1617
  "interpolated": false
1619
1618
  },
1620
1619
  "property-type": "constant"
1620
+ },
1621
+ "fill-elevation-reference": {
1622
+ "type": "enum",
1623
+ "doc": "Selects the base of fill-elevation. Some modes might require precomputed elevation data in the tileset.",
1624
+ "values": {
1625
+ "none": {
1626
+ "doc": "Elevated rendering is disabled."
1627
+ },
1628
+ "hd-road-base": {
1629
+ "doc": "Elevate geometry relative to HD roads. Use this mode to describe base polygons of the road networks."
1630
+ },
1631
+ "hd-road-markup": {
1632
+ "doc": "Elevated rendering is enabled. Use this mode to describe additive and stackable features such as 'hatched areas' that should exist only on top of road polygons."
1633
+ }
1634
+ },
1635
+ "default": "none",
1636
+ "experimental": true,
1637
+ "private": true,
1638
+ "transition": false,
1639
+ "sdk-support": {
1640
+ "basic functionality": {
1641
+ "android": "11.9.0",
1642
+ "ios": "11.9.0"
1643
+ }
1644
+ },
1645
+ "expression": {
1646
+ "interpolated": false
1647
+ },
1648
+ "property-type": "data-constant"
1621
1649
  }
1622
1650
  },
1623
1651
  "layout_circle": {
@@ -1915,7 +1943,11 @@
1915
1943
  "line-z-offset": {
1916
1944
  "type": "number",
1917
1945
  "experimental": true,
1918
- "doc": "Vertical offset from ground, in meters. Defaults to 0. Not supported for globe projection at the moment.",
1946
+ "doc": "Vertical offset from ground, in meters. Defaults to 0. This is an experimental property with some known issues:\n * Not supported for globe projection at the moment \n * Elevated line discontinuity is possible on tile borders with terrain enabled \n * Rendering artifacts can happen near line joins and line caps depending on the line styling \n * Rendering artifacts relating to `line-opacity` and `line-blur` \n * Elevated line visibility is determined by layer order \n * Z-fighting issues can happen with intersecting elevated lines \n * Elevated lines don't cast shadows",
1947
+ "default": 0,
1948
+ "requires": [
1949
+ "line-elevation-reference"
1950
+ ],
1919
1951
  "sdk-support": {
1920
1952
  "basic functionality": {
1921
1953
  "js": "3.5.0",
@@ -1938,6 +1970,57 @@
1938
1970
  },
1939
1971
  "property-type": "data-driven"
1940
1972
  },
1973
+ "line-elevation-reference": {
1974
+ "type": "enum",
1975
+ "doc": "Selects the base of line-elevation. Some modes might require precomputed elevation data in the tileset.",
1976
+ "values": {
1977
+ "none": {
1978
+ "doc": "Elevated rendering is disabled."
1979
+ },
1980
+ "sea": {
1981
+ "doc": "Elevated rendering is enabled. Use this mode to elevate lines relative to the sea level."
1982
+ },
1983
+ "ground": {
1984
+ "doc": "Elevated rendering is enabled. Use this mode to elevate lines relative to the ground's height below them."
1985
+ },
1986
+ "hd-road-markup": {
1987
+ "doc": "Elevated rendering is enabled. Use this mode to describe additive and stackable features that should exist only on top of road polygons."
1988
+ }
1989
+ },
1990
+ "default": "none",
1991
+ "experimental": true,
1992
+ "transition": false,
1993
+ "sdk-support": {
1994
+ "basic functionality": {
1995
+ "js": "3.8.0",
1996
+ "android": "11.9.0",
1997
+ "ios": "11.9.0"
1998
+ }
1999
+ },
2000
+ "expression": {
2001
+ "interpolated": false
2002
+ },
2003
+ "property-type": "data-constant"
2004
+ },
2005
+ "line-cross-slope": {
2006
+ "type": "number",
2007
+ "experimental": true,
2008
+ "doc": "Defines the slope of an elevated line. A value of 0 creates a horizontal line. A value of 1 creates a vertical line. Other values are currently not supported. If undefined, the line follows the terrain slope. This is an experimental property with some known issues:\n * Vertical lines don't support line caps \n * `line-join: round` is not supported with this property",
2009
+ "requires": [
2010
+ "line-z-offset"
2011
+ ],
2012
+ "sdk-support": {
2013
+ "basic functionality": {
2014
+ "js": "3.8.0",
2015
+ "android": "11.9.0",
2016
+ "ios": "11.9.0"
2017
+ }
2018
+ },
2019
+ "expression": {
2020
+ "interpolated": false
2021
+ },
2022
+ "property-type": "constant"
2023
+ },
1941
2024
  "visibility": {
1942
2025
  "type": "enum",
1943
2026
  "values": {
@@ -2134,6 +2217,36 @@
2134
2217
  },
2135
2218
  "property-type": "data-constant"
2136
2219
  },
2220
+ "symbol-elevation-reference": {
2221
+ "type": "enum",
2222
+ "doc": "Selects the base of symbol-elevation.",
2223
+ "values": {
2224
+ "sea": {
2225
+ "doc": "Elevate symbols relative to the sea level."
2226
+ },
2227
+ "ground": {
2228
+ "doc": "Elevate symbols relative to the ground's height below them."
2229
+ },
2230
+ "hd-road-markup": {
2231
+ "doc": "Use this mode to enable elevated behavior for features that are rendered on top of 3D road polygons. The feature is currently being developed."
2232
+ }
2233
+ },
2234
+ "default": "ground",
2235
+ "experimental": true,
2236
+ "sdk-support": {
2237
+ "basic functionality": {
2238
+ "android": "11.9.0",
2239
+ "ios": "11.9.0"
2240
+ }
2241
+ },
2242
+ "expression": {
2243
+ "interpolated": false,
2244
+ "parameters": [
2245
+ "zoom"
2246
+ ]
2247
+ },
2248
+ "property-type": "data-constant"
2249
+ },
2137
2250
  "icon-allow-overlap": {
2138
2251
  "type": "boolean",
2139
2252
  "default": false,
@@ -2269,6 +2382,31 @@
2269
2382
  },
2270
2383
  "property-type": "data-driven"
2271
2384
  },
2385
+ "icon-size-scale-range": {
2386
+ "type": "array",
2387
+ "value": "number",
2388
+ "length": 2,
2389
+ "default": [
2390
+ 0.8,
2391
+ 2
2392
+ ],
2393
+ "doc": "Defines the minimum and maximum scaling factors for icon related properties like `icon-size`, `icon-halo-width`, `icon-halo-blur`",
2394
+ "minimum": 0.1,
2395
+ "maximum": 10,
2396
+ "experimental": true,
2397
+ "private": true,
2398
+ "expression": {
2399
+ "interpolated": false
2400
+ },
2401
+ "sdk-support": {
2402
+ "basic functionality": {
2403
+ "js": "3.8.0",
2404
+ "android": "11.8.0",
2405
+ "ios": "11.8.0"
2406
+ }
2407
+ },
2408
+ "property-type": "data-constant"
2409
+ },
2272
2410
  "icon-text-fit": {
2273
2411
  "type": "enum",
2274
2412
  "values": {
@@ -2758,6 +2896,31 @@
2758
2896
  },
2759
2897
  "property-type": "data-driven"
2760
2898
  },
2899
+ "text-size-scale-range": {
2900
+ "type": "array",
2901
+ "value": "number",
2902
+ "length": 2,
2903
+ "default": [
2904
+ 0.8,
2905
+ 2
2906
+ ],
2907
+ "doc": "Defines the minimum and maximum scaling factors for text related properties like `text-size`, `text-max-width`, `text-halo-width`, `font-size`",
2908
+ "minimum": 0.1,
2909
+ "maximum": 10,
2910
+ "experimental": true,
2911
+ "private": true,
2912
+ "expression": {
2913
+ "interpolated": false
2914
+ },
2915
+ "sdk-support": {
2916
+ "basic functionality": {
2917
+ "js": "3.8.0",
2918
+ "android": "11.8.0",
2919
+ "ios": "11.8.0"
2920
+ }
2921
+ },
2922
+ "property-type": "data-constant"
2923
+ },
2761
2924
  "text-max-width": {
2762
2925
  "type": "number",
2763
2926
  "default": 10,
@@ -3480,6 +3643,61 @@
3480
3643
  "parameters": ["zoom", "feature"]
3481
3644
  }
3482
3645
  },
3646
+ "filter_hillshade": {
3647
+ "type": "boolean",
3648
+ "doc": "Expression which determines whether or not to enable the hillshade layer. Hillshade layer does NOT support dynamic filtering, meaning this expression can NOT use the `[\"pitch\"]` and `[\"distance-from-center\"]` expressions to reference the current state of the view.",
3649
+ "default": false,
3650
+ "transition": false,
3651
+ "property-type": "data-driven",
3652
+ "expression": {
3653
+ "interpolated": false,
3654
+ "parameters": ["zoom", "feature"]
3655
+ }
3656
+ },
3657
+ "filter_raster": {
3658
+ "type": "boolean",
3659
+ "doc": "Expression which determines whether or not to enable the raster layer. Raster layer does NOT support dynamic filtering, meaning this expression can NOT use the `[\"pitch\"]` and `[\"distance-from-center\"]` expressions to reference the current state of the view.",
3660
+ "default": false,
3661
+ "transition": false,
3662
+ "property-type": "data-driven",
3663
+ "expression": {
3664
+ "interpolated": false,
3665
+ "parameters": ["zoom", "feature"]
3666
+ }
3667
+ },
3668
+ "filter_raster-particle": {
3669
+ "type": "boolean",
3670
+ "doc": "Expression which determines whether or not to enable the raster particle layer. Raster particle layer does NOT support dynamic filtering, meaning this expression can NOT use the `[\"pitch\"]` and `[\"distance-from-center\"]` expressions to reference the current state of the view.",
3671
+ "default": false,
3672
+ "transition": false,
3673
+ "property-type": "data-driven",
3674
+ "expression": {
3675
+ "interpolated": false,
3676
+ "parameters": ["zoom", "feature"]
3677
+ }
3678
+ },
3679
+ "filter_clip": {
3680
+ "type": "boolean",
3681
+ "doc": "Expression which determines whether or not to enable the clip layer. Clip layer does NOT support dynamic filtering, meaning this expression can NOT use the `[\"pitch\"]` and `[\"distance-from-center\"]` expressions to reference the current state of the view.",
3682
+ "default": false,
3683
+ "transition": false,
3684
+ "property-type": "data-driven",
3685
+ "expression": {
3686
+ "interpolated": false,
3687
+ "parameters": ["zoom", "feature"]
3688
+ }
3689
+ },
3690
+ "filter_model": {
3691
+ "type": "boolean",
3692
+ "doc": "Expression which determines whether or not to display a model. Model layer does NOT support dynamic filtering, meaning this expression can NOT use the `[\"pitch\"]` and `[\"distance-from-center\"]` expressions to reference the current state of the view.",
3693
+ "default": false,
3694
+ "transition": false,
3695
+ "property-type": "data-driven",
3696
+ "expression": {
3697
+ "interpolated": false,
3698
+ "parameters": ["zoom", "feature"]
3699
+ }
3700
+ },
3483
3701
  "filter_line": {
3484
3702
  "type": "boolean",
3485
3703
  "doc": "Expression which determines whether or not to display a Polygon or LineString. Line layer does NOT support dynamic filtering, meaning this expression can NOT use the `[\"pitch\"]` and `[\"distance-from-center\"]` expressions to reference the current state of the view.",
@@ -4223,7 +4441,7 @@
4223
4441
  }
4224
4442
  },
4225
4443
  "line-progress": {
4226
- "doc": "Returns the progress along a gradient line. Can only be used in the `line-gradient` property.",
4444
+ "doc": "Returns the progress along a gradient line. Can only be used in the `line-gradient` and `line-z-offset` properties.",
4227
4445
  "group": "Feature data",
4228
4446
  "sdk-support": {
4229
4447
  "basic functionality": {
@@ -4952,79 +5170,433 @@
4952
5170
  }
4953
5171
  }
4954
5172
  },
4955
- "camera": {
4956
- "camera-projection" : {
4957
- "doc": "Camera projection describes how 3D world geometry get projected into 2D screen",
4958
- "type": "enum",
4959
- "values": {
4960
- "perspective": {
4961
- "doc": "linear projection where distant objects appear smaller than closer objects. Lines that are parallel seem to converge towards a vanishing point"
4962
- },
4963
- "orthographic": {
4964
- "doc": "Projection where objects are of the same scale regardless of whether they are far away or near to the camera. Parallel lines remains parallel and there is no vanishing point."
4965
- }
4966
- },
4967
- "transition": true,
5173
+ "snow": {
5174
+ "density": {
5175
+ "type": "number",
5176
+ "property-type": "data-constant",
5177
+ "default": 1,
5178
+ "minimum": 0,
5179
+ "maximum": 1,
5180
+ "experimental": true,
4968
5181
  "expression": {
4969
5182
  "interpolated": true,
4970
5183
  "parameters": [
4971
- "zoom"
4972
- ]
5184
+ "zoom",
5185
+ "measure-light"
5186
+ ],
5187
+ "relaxZoomRestriction": true
4973
5188
  },
5189
+ "transition": true,
5190
+ "doc": "Snow particles density.",
4974
5191
  "sdk-support": {
4975
5192
  "basic functionality": {
4976
- "js": "3.0.0",
4977
- "android": "11.0.0",
4978
- "ios": "11.0.0"
5193
+ "android": "11.8.0",
5194
+ "ios": "11.8.0"
4979
5195
  }
4980
- },
4981
- "default": "perspective",
4982
- "property-type": "data-constant"
4983
- }
4984
- },
4985
- "colorTheme": {
4986
- "data": {
4987
- "type": "string",
4988
- "doc": "Expects a base64 encoded PNG image which represents a cube strip LUT. The height of the image cannot exceed 32 pixels and the width must be equal to the height squared.",
4989
- "transition": false,
4990
- "property-type": "data-constant",
4991
- "expression": {
4992
- "interpolated": false
4993
5196
  }
4994
- }
4995
- },
4996
- "light": {
4997
- "anchor": {
4998
- "type": "enum",
4999
- "default": "viewport",
5000
- "values": {
5001
- "map": {
5002
- "doc": "The position of the light source is aligned to the rotation of the map."
5003
- },
5004
- "viewport": {
5005
- "doc": "The position of the light source is aligned to the rotation of the viewport."
5006
- }
5007
- },
5197
+ },
5198
+ "intensity": {
5199
+ "type": "number",
5008
5200
  "property-type": "data-constant",
5009
- "transition": false,
5201
+ "default": 1,
5202
+ "minimum": 0,
5203
+ "maximum": 1,
5204
+ "experimental": true,
5010
5205
  "expression": {
5011
- "interpolated": false,
5206
+ "interpolated": true,
5012
5207
  "parameters": [
5013
- "zoom"
5014
- ]
5208
+ "zoom",
5209
+ "measure-light"
5210
+ ],
5211
+ "relaxZoomRestriction": true
5015
5212
  },
5016
- "doc": "Whether extruded geometries are lit relative to the map or viewport.",
5017
- "example": "map",
5213
+ "transition": true,
5214
+ "doc": "Snow particles movement factor.",
5018
5215
  "sdk-support": {
5019
5216
  "basic functionality": {
5020
- "js": "0.27.0",
5021
- "android": "5.1.0",
5022
- "ios": "3.6.0"
5217
+ "android": "11.8.0",
5218
+ "ios": "11.8.0"
5023
5219
  }
5024
5220
  }
5025
5221
  },
5026
- "position": {
5027
- "type": "array",
5222
+ "color": {
5223
+ "type": "color",
5224
+ "property-type": "data-constant",
5225
+ "default": "#ffffff",
5226
+ "experimental": true,
5227
+ "expression": {
5228
+ "interpolated": true,
5229
+ "parameters": [
5230
+ "zoom",
5231
+ "measure-light"
5232
+ ],
5233
+ "relaxZoomRestriction": true
5234
+ },
5235
+ "transition": true,
5236
+ "doc": "Snow particles color.",
5237
+ "sdk-support": {
5238
+ "basic functionality": {
5239
+ "android": "11.8.0",
5240
+ "ios": "11.8.0"
5241
+ }
5242
+ }
5243
+ },
5244
+ "opacity": {
5245
+ "type": "number",
5246
+ "property-type": "data-constant",
5247
+ "default": 1,
5248
+ "minimum": 0,
5249
+ "maximum": 1,
5250
+ "experimental": true,
5251
+ "expression": {
5252
+ "interpolated": true,
5253
+ "parameters": [
5254
+ "zoom",
5255
+ "measure-light"
5256
+ ],
5257
+ "relaxZoomRestriction": true
5258
+ },
5259
+ "transition": true,
5260
+ "doc": "Snow particles opacity.",
5261
+ "sdk-support": {
5262
+ "basic functionality": {
5263
+ "android": "11.8.0",
5264
+ "ios": "11.8.0"
5265
+ }
5266
+ }
5267
+ },
5268
+ "vignette": {
5269
+ "type": "number",
5270
+ "property-type": "data-constant",
5271
+ "default": 0,
5272
+ "minimum": 0,
5273
+ "maximum": 1,
5274
+ "experimental": true,
5275
+ "expression": {
5276
+ "interpolated": true,
5277
+ "parameters": [
5278
+ "zoom",
5279
+ "measure-light"
5280
+ ],
5281
+ "relaxZoomRestriction": true
5282
+ },
5283
+ "transition": true,
5284
+ "doc": "Snow vignette screen-space effect.",
5285
+ "sdk-support": {
5286
+ "basic functionality": {
5287
+ "android": "11.8.0",
5288
+ "ios": "11.8.0"
5289
+ }
5290
+ }
5291
+ },
5292
+ "centerThinning": {
5293
+ "type": "number",
5294
+ "property-type": "data-constant",
5295
+ "default": 1,
5296
+ "minimum": 0,
5297
+ "maximum": 1,
5298
+ "experimental": true,
5299
+ "expression": {
5300
+ "interpolated": true,
5301
+ "parameters": [
5302
+ "zoom",
5303
+ "measure-light"
5304
+ ],
5305
+ "relaxZoomRestriction": true
5306
+ },
5307
+ "transition": true,
5308
+ "doc": "Thinning factor of snow particles from center. 0 - no thinning. 1 - maximal central area thinning.",
5309
+ "sdk-support": {
5310
+ "basic functionality": {
5311
+ "android": "11.8.0",
5312
+ "ios": "11.8.0"
5313
+ }
5314
+ }
5315
+ },
5316
+ "direction": {
5317
+ "type": "array",
5318
+ "default": [
5319
+ 0.0,
5320
+ 90.0
5321
+ ],
5322
+ "minimum": 0,
5323
+ "maximum": 360,
5324
+ "length": 2,
5325
+ "value": "number",
5326
+ "property-type": "data-constant",
5327
+ "transition": true,
5328
+ "experimental": true,
5329
+ "expression": {
5330
+ "interpolated": true,
5331
+ "parameters": [
5332
+ "zoom",
5333
+ "measure-light"
5334
+ ],
5335
+ "relaxZoomRestriction": true
5336
+ },
5337
+ "doc": "Main snow particles direction. Heading & pitch",
5338
+ "example": [
5339
+ 0,
5340
+ 45
5341
+ ],
5342
+ "sdk-support": {
5343
+ "basic functionality": {
5344
+ "android": "11.8.0",
5345
+ "ios": "11.8.0"
5346
+ }
5347
+ }
5348
+ }
5349
+ },
5350
+ "rain": {
5351
+ "density": {
5352
+ "type": "number",
5353
+ "property-type": "data-constant",
5354
+ "default": 1,
5355
+ "minimum": 0,
5356
+ "maximum": 1,
5357
+ "experimental": true,
5358
+ "expression": {
5359
+ "interpolated": true,
5360
+ "parameters": [
5361
+ "zoom",
5362
+ "measure-light"
5363
+ ],
5364
+ "relaxZoomRestriction": true
5365
+ },
5366
+ "transition": true,
5367
+ "doc": "Rain particles density.",
5368
+ "sdk-support": {
5369
+ "basic functionality": {
5370
+ "android": "11.8.0",
5371
+ "ios": "11.8.0"
5372
+ }
5373
+ }
5374
+ },
5375
+ "intensity": {
5376
+ "type": "number",
5377
+ "property-type": "data-constant",
5378
+ "default": 1,
5379
+ "minimum": 0,
5380
+ "maximum": 1,
5381
+ "experimental": true,
5382
+ "expression": {
5383
+ "interpolated": true,
5384
+ "parameters": [
5385
+ "zoom",
5386
+ "measure-light"
5387
+ ],
5388
+ "relaxZoomRestriction": true
5389
+ },
5390
+ "transition": true,
5391
+ "doc": "Rain particles movement factor.",
5392
+ "sdk-support": {
5393
+ "basic functionality": {
5394
+ "android": "11.8.0",
5395
+ "ios": "11.8.0"
5396
+ }
5397
+ }
5398
+ },
5399
+ "color": {
5400
+ "type": "color",
5401
+ "property-type": "data-constant",
5402
+ "default": "#ffffff",
5403
+ "experimental": true,
5404
+ "expression": {
5405
+ "interpolated": true,
5406
+ "parameters": [
5407
+ "zoom",
5408
+ "measure-light"
5409
+ ],
5410
+ "relaxZoomRestriction": true
5411
+ },
5412
+ "transition": true,
5413
+ "doc": "",
5414
+ "sdk-support": {
5415
+ "basic functionality": {
5416
+ "android": "11.8.0",
5417
+ "ios": "11.8.0"
5418
+ }
5419
+ }
5420
+ },
5421
+ "opacity": {
5422
+ "type": "number",
5423
+ "property-type": "data-constant",
5424
+ "default": 1,
5425
+ "minimum": 0,
5426
+ "maximum": 1,
5427
+ "experimental": true,
5428
+ "expression": {
5429
+ "interpolated": true,
5430
+ "parameters": [
5431
+ "zoom",
5432
+ "measure-light"
5433
+ ],
5434
+ "relaxZoomRestriction": true
5435
+ },
5436
+ "transition": true,
5437
+ "doc": "Rain particles opacity.",
5438
+ "sdk-support": {
5439
+ "basic functionality": {
5440
+ "android": "11.8.0",
5441
+ "ios": "11.8.0"
5442
+ }
5443
+ }
5444
+ },
5445
+ "vignette": {
5446
+ "type": "number",
5447
+ "property-type": "data-constant",
5448
+ "default": 0,
5449
+ "minimum": 0,
5450
+ "maximum": 1,
5451
+ "experimental": true,
5452
+ "expression": {
5453
+ "interpolated": true,
5454
+ "parameters": [
5455
+ "zoom",
5456
+ "measure-light"
5457
+ ],
5458
+ "relaxZoomRestriction": true
5459
+ },
5460
+ "transition": true,
5461
+ "doc": "Rain vignette screen-space effect.",
5462
+ "sdk-support": {
5463
+ "basic functionality": {
5464
+ "android": "11.8.0",
5465
+ "ios": "11.8.0"
5466
+ }
5467
+ }
5468
+ },
5469
+ "centerThinning": {
5470
+ "type": "number",
5471
+ "property-type": "data-constant",
5472
+ "default": 1,
5473
+ "minimum": 0,
5474
+ "maximum": 1,
5475
+ "experimental": true,
5476
+ "expression": {
5477
+ "interpolated": true,
5478
+ "parameters": [
5479
+ "zoom",
5480
+ "measure-light"
5481
+ ],
5482
+ "relaxZoomRestriction": true
5483
+ },
5484
+ "transition": true,
5485
+ "doc": "Thinning factor of rain particles from center. 0 - no thinning. 1 - maximal central area thinning.",
5486
+ "sdk-support": {
5487
+ "basic functionality": {
5488
+ "android": "11.8.0",
5489
+ "ios": "11.8.0"
5490
+ }
5491
+ }
5492
+ },
5493
+ "direction": {
5494
+ "type": "array",
5495
+ "default": [
5496
+ 0.0,
5497
+ 80.0
5498
+ ],
5499
+ "minimum": 0,
5500
+ "maximum": 360,
5501
+ "length": 2,
5502
+ "value": "number",
5503
+ "property-type": "data-constant",
5504
+ "transition": true,
5505
+ "experimental": true,
5506
+ "expression": {
5507
+ "interpolated": true,
5508
+ "parameters": [
5509
+ "zoom",
5510
+ "measure-light"
5511
+ ],
5512
+ "relaxZoomRestriction": true
5513
+ },
5514
+ "doc": "Main rain particles direction. Heading & pitch",
5515
+ "example": [
5516
+ 0,
5517
+ 45
5518
+ ],
5519
+ "sdk-support": {
5520
+ "basic functionality": {
5521
+ "android": "11.8.0",
5522
+ "ios": "11.8.0"
5523
+ }
5524
+ }
5525
+ }
5526
+ },
5527
+ "camera": {
5528
+ "camera-projection" : {
5529
+ "doc": "Camera projection describes how 3D world geometry get projected into 2D screen",
5530
+ "type": "enum",
5531
+ "values": {
5532
+ "perspective": {
5533
+ "doc": "linear projection where distant objects appear smaller than closer objects. Lines that are parallel seem to converge towards a vanishing point"
5534
+ },
5535
+ "orthographic": {
5536
+ "doc": "Projection where objects are of the same scale regardless of whether they are far away or near to the camera. Parallel lines remains parallel and there is no vanishing point."
5537
+ }
5538
+ },
5539
+ "transition": true,
5540
+ "expression": {
5541
+ "interpolated": true,
5542
+ "parameters": [
5543
+ "zoom"
5544
+ ]
5545
+ },
5546
+ "sdk-support": {
5547
+ "basic functionality": {
5548
+ "js": "3.0.0",
5549
+ "android": "11.0.0",
5550
+ "ios": "11.0.0"
5551
+ }
5552
+ },
5553
+ "default": "perspective",
5554
+ "property-type": "data-constant"
5555
+ }
5556
+ },
5557
+ "colorTheme": {
5558
+ "data": {
5559
+ "type": "string",
5560
+ "doc": "Expects a base64 encoded PNG image which represents a cube strip LUT. The height of the image cannot exceed 32 pixels and the width must be equal to the height squared.",
5561
+ "transition": false,
5562
+ "property-type": "data-constant",
5563
+ "expression": {
5564
+ "interpolated": false
5565
+ }
5566
+ }
5567
+ },
5568
+ "light": {
5569
+ "anchor": {
5570
+ "type": "enum",
5571
+ "default": "viewport",
5572
+ "values": {
5573
+ "map": {
5574
+ "doc": "The position of the light source is aligned to the rotation of the map."
5575
+ },
5576
+ "viewport": {
5577
+ "doc": "The position of the light source is aligned to the rotation of the viewport."
5578
+ }
5579
+ },
5580
+ "property-type": "data-constant",
5581
+ "transition": false,
5582
+ "expression": {
5583
+ "interpolated": false,
5584
+ "parameters": [
5585
+ "zoom"
5586
+ ]
5587
+ },
5588
+ "doc": "Whether extruded geometries are lit relative to the map or viewport.",
5589
+ "example": "map",
5590
+ "sdk-support": {
5591
+ "basic functionality": {
5592
+ "js": "0.27.0",
5593
+ "android": "5.1.0",
5594
+ "ios": "3.6.0"
5595
+ }
5596
+ }
5597
+ },
5598
+ "position": {
5599
+ "type": "array",
5028
5600
  "default": [
5029
5601
  1.15,
5030
5602
  210,
@@ -5693,6 +6265,56 @@
5693
6265
  },
5694
6266
  "property-type": "data-driven"
5695
6267
  },
6268
+ "fill-extrusion-height-alignment": {
6269
+ "type": "enum",
6270
+ "experimental": true,
6271
+ "values": {
6272
+ "terrain": {
6273
+ "doc": "The fill extrusion height follows terrain slope."
6274
+ },
6275
+ "flat": {
6276
+ "doc": "The fill extrusion height is flat over terrain."
6277
+ }
6278
+ },
6279
+ "doc": "Controls the behavior of fill extrusion height over terrain",
6280
+ "default": "flat",
6281
+ "requires": [
6282
+ "fill-extrusion-height"
6283
+ ],
6284
+ "sdk-support": {
6285
+ "basic functionality": {
6286
+ "js": "3.8.0",
6287
+ "android": "11.8.0",
6288
+ "ios": "11.8.0"
6289
+ }
6290
+ },
6291
+ "property-type": "data-constant"
6292
+ },
6293
+ "fill-extrusion-base-alignment": {
6294
+ "type": "enum",
6295
+ "experimental": true,
6296
+ "values": {
6297
+ "terrain": {
6298
+ "doc": "The fill extrusion base follows terrain slope."
6299
+ },
6300
+ "flat": {
6301
+ "doc": "The fill extrusion base is flat over terrain."
6302
+ }
6303
+ },
6304
+ "doc": "Controls the behavior of fill extrusion base over terrain",
6305
+ "default": "terrain",
6306
+ "requires": [
6307
+ "fill-extrusion-base"
6308
+ ],
6309
+ "sdk-support": {
6310
+ "basic functionality": {
6311
+ "js": "3.8.0",
6312
+ "android": "11.8.0",
6313
+ "ios": "11.8.0"
6314
+ }
6315
+ },
6316
+ "property-type": "data-constant"
6317
+ },
5696
6318
  "fill-extrusion-vertical-gradient": {
5697
6319
  "type": "boolean",
5698
6320
  "default": true,
@@ -7859,34 +8481,6 @@
7859
8481
  ]
7860
8482
  },
7861
8483
  "property-type": "data-driven"
7862
- },
7863
- "symbol-elevation-reference": {
7864
- "type": "enum",
7865
- "doc": "Selects the base of symbol-elevation.",
7866
- "values": {
7867
- "sea": {
7868
- "doc": "Elevate symbols relative to the sea level."
7869
- },
7870
- "ground": {
7871
- "doc": "Elevate symbols relative to the ground's height below them."
7872
- }
7873
- },
7874
- "default": "ground",
7875
- "experimental": true,
7876
- "sdk-support": {
7877
- "basic functionality": {
7878
- "js": "3.7.0",
7879
- "android": "11.7.0",
7880
- "ios": "11.7.0"
7881
- }
7882
- },
7883
- "expression": {
7884
- "interpolated": false,
7885
- "parameters": [
7886
- "zoom"
7887
- ]
7888
- },
7889
- "property-type": "data-constant"
7890
8484
  }
7891
8485
  },
7892
8486
  "paint_raster": {