@mapbox/mapbox-gl-style-spec 14.8.0-beta.1 → 14.9.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/reference/v8.json CHANGED
@@ -105,6 +105,16 @@
105
105
  "type": "fog",
106
106
  "doc": "A global effect that fades layers and markers based on their distance to the camera. The fog can be used to approximate the effect of atmosphere on distant objects and enhance the depth perception of the map when used with terrain or 3D features. Note: fog is renamed to atmosphere in the Android and iOS SDKs and planned to be changed in GL-JS v.3.0.0."
107
107
  },
108
+ "snow": {
109
+ "type": "snow",
110
+ "doc": "Global precipitation particle-based snow. Having snow present in the style forces constant map repaint mode",
111
+ "experimental": true
112
+ },
113
+ "rain": {
114
+ "type": "rain",
115
+ "doc": "Global precipitation particle-based rain effect. Having rain present in the style forces constant map repaint mode.",
116
+ "experimental": true
117
+ },
108
118
  "camera": {
109
119
  "type": "camera",
110
120
  "doc": "Global setting to control additional camera intrinsics parameters, e.g. projection type (perspective / orthographic)."
@@ -113,6 +123,11 @@
113
123
  "type": "colorTheme",
114
124
  "doc": "A global modifier for the colors of the style."
115
125
  },
126
+ "indoor": {
127
+ "type": "indoor",
128
+ "experimental": true,
129
+ "doc": "Controls the behaviour of indoor features."
130
+ },
116
131
  "imports": {
117
132
  "type": "array",
118
133
  "value": "import",
@@ -204,7 +219,7 @@
204
219
  "featuresets": {
205
220
  "experimental": true,
206
221
  "type": "featuresets",
207
- "doc": "Defines sets of features for querying, interaction, and feature state manipulation.",
222
+ "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
223
  "example": {
209
224
  "poi": {
210
225
  "selectors": [
@@ -288,6 +303,11 @@
288
303
  "data": {
289
304
  "type": "$root",
290
305
  "doc": "The inlined style that must correspond to the contents of the specified URL."
306
+ },
307
+ "color-theme": {
308
+ "type": "colorTheme",
309
+ "optional": true,
310
+ "doc": "If specified, it overrides the color-theme of the imported style."
291
311
  }
292
312
  },
293
313
  "config": {
@@ -496,6 +516,28 @@
496
516
  }
497
517
  }
498
518
  },
519
+ "shadow-quality": {
520
+ "type": "number",
521
+ "property-type": "data-constant",
522
+ "default": 1,
523
+ "minimum": 0,
524
+ "maximum": 1,
525
+ "expression": {
526
+ "interpolated": false,
527
+ "parameters": [
528
+ "zoom"
529
+ ]
530
+ },
531
+ "transition": false,
532
+ "doc": "Determines the quality of the shadows on the map. A value of 1 ensures the highest quality and is the default value.",
533
+ "sdk-support": {
534
+ "basic functionality": {
535
+ "android": "11.9.0",
536
+ "ios": "11.9.0"
537
+ }
538
+ },
539
+ "experimental": true
540
+ },
499
541
  "shadow-intensity": {
500
542
  "type": "number",
501
543
  "property-type": "data-constant",
@@ -1617,6 +1659,35 @@
1617
1659
  "interpolated": false
1618
1660
  },
1619
1661
  "property-type": "constant"
1662
+ },
1663
+ "fill-elevation-reference": {
1664
+ "type": "enum",
1665
+ "doc": "Selects the base of fill-elevation. Some modes might require precomputed elevation data in the tileset.",
1666
+ "values": {
1667
+ "none": {
1668
+ "doc": "Elevated rendering is disabled."
1669
+ },
1670
+ "hd-road-base": {
1671
+ "doc": "Elevate geometry relative to HD roads. Use this mode to describe base polygons of the road networks."
1672
+ },
1673
+ "hd-road-markup": {
1674
+ "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."
1675
+ }
1676
+ },
1677
+ "default": "none",
1678
+ "experimental": true,
1679
+ "private": true,
1680
+ "transition": false,
1681
+ "sdk-support": {
1682
+ "basic functionality": {
1683
+ "android": "11.9.0",
1684
+ "ios": "11.9.0"
1685
+ }
1686
+ },
1687
+ "expression": {
1688
+ "interpolated": false
1689
+ },
1690
+ "property-type": "data-constant"
1620
1691
  }
1621
1692
  },
1622
1693
  "layout_circle": {
@@ -1956,7 +2027,7 @@
1956
2027
  },
1957
2028
  "hd-road-markup": {
1958
2029
  "doc": "Elevated rendering is enabled. Use this mode to describe additive and stackable features that should exist only on top of road polygons."
1959
- }
2030
+ }
1960
2031
  },
1961
2032
  "default": "none",
1962
2033
  "experimental": true,
@@ -2020,6 +2091,36 @@
2020
2091
  "interpolated": false
2021
2092
  },
2022
2093
  "property-type": "constant"
2094
+ },
2095
+ "line-width-unit": {
2096
+ "type": "enum",
2097
+ "doc": "Selects the unit of line-width. The same unit is automatically used for line-blur and line-offset. Note: This is an experimental property and might be removed in a future release.",
2098
+ "values": {
2099
+ "pixels": {
2100
+ "doc": "Width is rendered in pixels."
2101
+ },
2102
+ "meters": {
2103
+ "doc": "Width is rendered in meters."
2104
+ }
2105
+ },
2106
+ "default": "pixels",
2107
+ "experimental": true,
2108
+ "private": true,
2109
+ "transition": false,
2110
+ "sdk-support": {
2111
+ "basic functionality": {
2112
+ "js": "3.9.0",
2113
+ "android": "11.9.0",
2114
+ "ios": "11.9.0"
2115
+ }
2116
+ },
2117
+ "expression": {
2118
+ "interpolated": false,
2119
+ "parameters": [
2120
+ "zoom"
2121
+ ]
2122
+ },
2123
+ "property-type": "data-constant"
2023
2124
  }
2024
2125
  },
2025
2126
  "layout_symbol": {
@@ -2134,7 +2235,7 @@
2134
2235
  "doc": "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`."
2135
2236
  },
2136
2237
  "viewport-y": {
2137
- "doc": "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`."
2238
+ "doc": "Sorts symbols by their y-position relative to the viewport if any of the following is set to `true`: `icon-allow-overlap`, `text-allow-overlap`, `icon-ignore-placement`, `text-ignore-placement`."
2138
2239
  },
2139
2240
  "source": {
2140
2241
  "doc": "Sorts symbols by `symbol-sort-key` if set. Otherwise, no sorting is applied; symbols are rendered in the same order as the source data."
@@ -2188,6 +2289,36 @@
2188
2289
  },
2189
2290
  "property-type": "data-constant"
2190
2291
  },
2292
+ "symbol-elevation-reference": {
2293
+ "type": "enum",
2294
+ "doc": "Selects the base of symbol-elevation.",
2295
+ "values": {
2296
+ "sea": {
2297
+ "doc": "Elevate symbols relative to the sea level."
2298
+ },
2299
+ "ground": {
2300
+ "doc": "Elevate symbols relative to the ground's height below them."
2301
+ },
2302
+ "hd-road-markup": {
2303
+ "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."
2304
+ }
2305
+ },
2306
+ "default": "ground",
2307
+ "experimental": true,
2308
+ "sdk-support": {
2309
+ "basic functionality": {
2310
+ "android": "11.9.0",
2311
+ "ios": "11.9.0"
2312
+ }
2313
+ },
2314
+ "expression": {
2315
+ "interpolated": false,
2316
+ "parameters": [
2317
+ "zoom"
2318
+ ]
2319
+ },
2320
+ "property-type": "data-constant"
2321
+ },
2191
2322
  "icon-allow-overlap": {
2192
2323
  "type": "boolean",
2193
2324
  "default": false,
@@ -2341,9 +2472,7 @@
2341
2472
  },
2342
2473
  "sdk-support": {
2343
2474
  "basic functionality": {
2344
- "js": "3.8.0",
2345
- "android": "11.8.0",
2346
- "ios": "11.8.0"
2475
+ "js": "3.8.0"
2347
2476
  }
2348
2477
  },
2349
2478
  "property-type": "data-constant"
@@ -2855,9 +2984,7 @@
2855
2984
  },
2856
2985
  "sdk-support": {
2857
2986
  "basic functionality": {
2858
- "js": "3.8.0",
2859
- "android": "11.8.0",
2860
- "ios": "11.8.0"
2987
+ "js": "3.8.0"
2861
2988
  }
2862
2989
  },
2863
2990
  "property-type": "data-constant"
@@ -3584,6 +3711,61 @@
3584
3711
  "parameters": ["zoom", "feature"]
3585
3712
  }
3586
3713
  },
3714
+ "filter_hillshade": {
3715
+ "type": "boolean",
3716
+ "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.",
3717
+ "default": false,
3718
+ "transition": false,
3719
+ "property-type": "data-driven",
3720
+ "expression": {
3721
+ "interpolated": false,
3722
+ "parameters": ["zoom", "feature"]
3723
+ }
3724
+ },
3725
+ "filter_raster": {
3726
+ "type": "boolean",
3727
+ "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.",
3728
+ "default": false,
3729
+ "transition": false,
3730
+ "property-type": "data-driven",
3731
+ "expression": {
3732
+ "interpolated": false,
3733
+ "parameters": ["zoom", "feature"]
3734
+ }
3735
+ },
3736
+ "filter_raster-particle": {
3737
+ "type": "boolean",
3738
+ "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.",
3739
+ "default": false,
3740
+ "transition": false,
3741
+ "property-type": "data-driven",
3742
+ "expression": {
3743
+ "interpolated": false,
3744
+ "parameters": ["zoom", "feature"]
3745
+ }
3746
+ },
3747
+ "filter_clip": {
3748
+ "type": "boolean",
3749
+ "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.",
3750
+ "default": false,
3751
+ "transition": false,
3752
+ "property-type": "data-driven",
3753
+ "expression": {
3754
+ "interpolated": false,
3755
+ "parameters": ["zoom", "feature"]
3756
+ }
3757
+ },
3758
+ "filter_model": {
3759
+ "type": "boolean",
3760
+ "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.",
3761
+ "default": false,
3762
+ "transition": false,
3763
+ "property-type": "data-driven",
3764
+ "expression": {
3765
+ "interpolated": false,
3766
+ "parameters": ["zoom", "feature"]
3767
+ }
3768
+ },
3587
3769
  "filter_line": {
3588
3770
  "type": "boolean",
3589
3771
  "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.",
@@ -4139,6 +4321,17 @@
4139
4321
  }
4140
4322
  }
4141
4323
  },
4324
+ "to-hsla": {
4325
+ "doc": "Returns a four-element array containing the input color's Hue, Saturation, Luminance and alpha components, in that order.",
4326
+ "group": "Color",
4327
+ "sdk-support": {
4328
+ "basic functionality": {
4329
+ "js": "3.9.0",
4330
+ "android": "11.9.0",
4331
+ "ios": "11.9.0"
4332
+ }
4333
+ }
4334
+ },
4142
4335
  "to-color": {
4143
4336
  "doc": "Converts the input value to a color. If multiple values are provided, each one is evaluated in order until the first successful conversion is obtained. If none of the inputs can be converted, the expression is an error.",
4144
4337
  "group": "Types",
@@ -4327,7 +4520,7 @@
4327
4520
  }
4328
4521
  },
4329
4522
  "line-progress": {
4330
- "doc": "Returns the progress along a gradient line. Can only be used in the `line-gradient` property.",
4523
+ "doc": "Returns the progress along a gradient line. Can only be used in the `line-gradient` and `line-z-offset` properties.",
4331
4524
  "group": "Feature data",
4332
4525
  "sdk-support": {
4333
4526
  "basic functionality": {
@@ -5073,11 +5266,11 @@
5073
5266
  "relaxZoomRestriction": true
5074
5267
  },
5075
5268
  "transition": true,
5076
- "doc": "Snow particles density.",
5269
+ "doc": "Snow particles density. Controls the overall particles number.",
5077
5270
  "sdk-support": {
5078
5271
  "basic functionality": {
5079
- "android": "11.8.0",
5080
- "ios": "11.8.0"
5272
+ "android": "11.9.0",
5273
+ "ios": "11.9.0"
5081
5274
  }
5082
5275
  }
5083
5276
  },
@@ -5097,11 +5290,11 @@
5097
5290
  "relaxZoomRestriction": true
5098
5291
  },
5099
5292
  "transition": true,
5100
- "doc": "Snow particles movement factor.",
5293
+ "doc": "Snow particles movement factor. Controls the overall particles movement speed.",
5101
5294
  "sdk-support": {
5102
5295
  "basic functionality": {
5103
- "android": "11.8.0",
5104
- "ios": "11.8.0"
5296
+ "android": "11.9.0",
5297
+ "ios": "11.9.0"
5105
5298
  }
5106
5299
  }
5107
5300
  },
@@ -5122,15 +5315,15 @@
5122
5315
  "doc": "Snow particles color.",
5123
5316
  "sdk-support": {
5124
5317
  "basic functionality": {
5125
- "android": "11.8.0",
5126
- "ios": "11.8.0"
5318
+ "android": "11.9.0",
5319
+ "ios": "11.9.0"
5127
5320
  }
5128
5321
  }
5129
5322
  },
5130
5323
  "opacity": {
5131
5324
  "type": "number",
5132
5325
  "property-type": "data-constant",
5133
- "default": 1,
5326
+ "default": 0.9,
5134
5327
  "minimum": 0,
5135
5328
  "maximum": 1,
5136
5329
  "experimental": true,
@@ -5146,15 +5339,15 @@
5146
5339
  "doc": "Snow particles opacity.",
5147
5340
  "sdk-support": {
5148
5341
  "basic functionality": {
5149
- "android": "11.8.0",
5150
- "ios": "11.8.0"
5342
+ "android": "11.9.0",
5343
+ "ios": "11.9.0"
5151
5344
  }
5152
5345
  }
5153
5346
  },
5154
5347
  "vignette": {
5155
5348
  "type": "number",
5156
5349
  "property-type": "data-constant",
5157
- "default": 0,
5350
+ "default": 0.3,
5158
5351
  "minimum": 0,
5159
5352
  "maximum": 1,
5160
5353
  "experimental": true,
@@ -5167,15 +5360,37 @@
5167
5360
  "relaxZoomRestriction": true
5168
5361
  },
5169
5362
  "transition": true,
5170
- "doc": "Snow vignette screen-space effect.",
5363
+ "doc": "Snow vignette screen-space effect. Adds snow tint to screen corners",
5171
5364
  "sdk-support": {
5172
5365
  "basic functionality": {
5173
- "android": "11.8.0",
5174
- "ios": "11.8.0"
5366
+ "android": "11.9.0",
5367
+ "ios": "11.9.0"
5175
5368
  }
5176
5369
  }
5177
5370
  },
5178
- "centerThinning": {
5371
+ "vignette-color": {
5372
+ "type": "color",
5373
+ "property-type": "data-constant",
5374
+ "default": "#ffffff",
5375
+ "experimental": true,
5376
+ "expression": {
5377
+ "interpolated": true,
5378
+ "parameters": [
5379
+ "zoom",
5380
+ "measure-light"
5381
+ ],
5382
+ "relaxZoomRestriction": true
5383
+ },
5384
+ "transition": true,
5385
+ "doc": "Snow vignette screen-space corners tint color.",
5386
+ "sdk-support": {
5387
+ "basic functionality": {
5388
+ "android": "11.9.0",
5389
+ "ios": "11.9.0"
5390
+ }
5391
+ }
5392
+ },
5393
+ "center-thinning": {
5179
5394
  "type": "number",
5180
5395
  "property-type": "data-constant",
5181
5396
  "default": 1,
@@ -5194,8 +5409,8 @@
5194
5409
  "doc": "Thinning factor of snow particles from center. 0 - no thinning. 1 - maximal central area thinning.",
5195
5410
  "sdk-support": {
5196
5411
  "basic functionality": {
5197
- "android": "11.8.0",
5198
- "ios": "11.8.0"
5412
+ "android": "11.9.0",
5413
+ "ios": "11.9.0"
5199
5414
  }
5200
5415
  }
5201
5416
  },
@@ -5220,15 +5435,39 @@
5220
5435
  ],
5221
5436
  "relaxZoomRestriction": true
5222
5437
  },
5223
- "doc": "Main snow particles direction. Heading & pitch",
5438
+ "doc": "Main snow particles direction. Azimuth and polar angles",
5224
5439
  "example": [
5225
5440
  0,
5226
5441
  45
5227
5442
  ],
5228
5443
  "sdk-support": {
5229
5444
  "basic functionality": {
5230
- "android": "11.8.0",
5231
- "ios": "11.8.0"
5445
+ "android": "11.9.0",
5446
+ "ios": "11.9.0"
5447
+ }
5448
+ }
5449
+ },
5450
+ "flake-size": {
5451
+ "type": "number",
5452
+ "property-type": "data-constant",
5453
+ "default": 1,
5454
+ "minimum": 0,
5455
+ "maximum": 5,
5456
+ "experimental": true,
5457
+ "expression": {
5458
+ "interpolated": true,
5459
+ "parameters": [
5460
+ "zoom",
5461
+ "measure-light"
5462
+ ],
5463
+ "relaxZoomRestriction": true
5464
+ },
5465
+ "transition": true,
5466
+ "doc": "Snow flake particle size. Correlates with individual particle screen size",
5467
+ "sdk-support": {
5468
+ "basic functionality": {
5469
+ "android": "11.9.0",
5470
+ "ios": "11.9.0"
5232
5471
  }
5233
5472
  }
5234
5473
  }
@@ -5250,11 +5489,11 @@
5250
5489
  "relaxZoomRestriction": true
5251
5490
  },
5252
5491
  "transition": true,
5253
- "doc": "Rain particles density.",
5492
+ "doc": "Rain particles density. Controls the overall screen density of the rain.",
5254
5493
  "sdk-support": {
5255
5494
  "basic functionality": {
5256
- "android": "11.8.0",
5257
- "ios": "11.8.0"
5495
+ "android": "11.9.0",
5496
+ "ios": "11.9.0"
5258
5497
  }
5259
5498
  }
5260
5499
  },
@@ -5274,18 +5513,18 @@
5274
5513
  "relaxZoomRestriction": true
5275
5514
  },
5276
5515
  "transition": true,
5277
- "doc": "Rain particles movement factor.",
5516
+ "doc": "Rain particles movement factor. Controls the overall rain particles speed",
5278
5517
  "sdk-support": {
5279
5518
  "basic functionality": {
5280
- "android": "11.8.0",
5281
- "ios": "11.8.0"
5519
+ "android": "11.9.0",
5520
+ "ios": "11.9.0"
5282
5521
  }
5283
5522
  }
5284
5523
  },
5285
5524
  "color": {
5286
5525
  "type": "color",
5287
5526
  "property-type": "data-constant",
5288
- "default": "#ffffff",
5527
+ "default": "#919191",
5289
5528
  "experimental": true,
5290
5529
  "expression": {
5291
5530
  "interpolated": true,
@@ -5296,18 +5535,18 @@
5296
5535
  "relaxZoomRestriction": true
5297
5536
  },
5298
5537
  "transition": true,
5299
- "doc": "",
5538
+ "doc": "Individual rain particle dorplets color.",
5300
5539
  "sdk-support": {
5301
5540
  "basic functionality": {
5302
- "android": "11.8.0",
5303
- "ios": "11.8.0"
5541
+ "android": "11.9.0",
5542
+ "ios": "11.9.0"
5304
5543
  }
5305
5544
  }
5306
5545
  },
5307
5546
  "opacity": {
5308
5547
  "type": "number",
5309
5548
  "property-type": "data-constant",
5310
- "default": 1,
5549
+ "default": 0.19,
5311
5550
  "minimum": 0,
5312
5551
  "maximum": 1,
5313
5552
  "experimental": true,
@@ -5323,15 +5562,15 @@
5323
5562
  "doc": "Rain particles opacity.",
5324
5563
  "sdk-support": {
5325
5564
  "basic functionality": {
5326
- "android": "11.8.0",
5327
- "ios": "11.8.0"
5565
+ "android": "11.9.0",
5566
+ "ios": "11.9.0"
5328
5567
  }
5329
5568
  }
5330
5569
  },
5331
5570
  "vignette": {
5332
5571
  "type": "number",
5333
5572
  "property-type": "data-constant",
5334
- "default": 0,
5573
+ "default": 0.3,
5335
5574
  "minimum": 0,
5336
5575
  "maximum": 1,
5337
5576
  "experimental": true,
@@ -5344,15 +5583,37 @@
5344
5583
  "relaxZoomRestriction": true
5345
5584
  },
5346
5585
  "transition": true,
5347
- "doc": "Rain vignette screen-space effect.",
5586
+ "doc": "Screen-space vignette rain tinting effect intensity.",
5348
5587
  "sdk-support": {
5349
5588
  "basic functionality": {
5350
- "android": "11.8.0",
5351
- "ios": "11.8.0"
5589
+ "android": "11.9.0",
5590
+ "ios": "11.9.0"
5352
5591
  }
5353
5592
  }
5354
5593
  },
5355
- "centerThinning": {
5594
+ "vignette-color": {
5595
+ "type": "color",
5596
+ "property-type": "data-constant",
5597
+ "default": "#ffffff",
5598
+ "experimental": true,
5599
+ "expression": {
5600
+ "interpolated": true,
5601
+ "parameters": [
5602
+ "zoom",
5603
+ "measure-light"
5604
+ ],
5605
+ "relaxZoomRestriction": true
5606
+ },
5607
+ "transition": true,
5608
+ "doc": "Rain vignette screen-space corners tint color.",
5609
+ "sdk-support": {
5610
+ "basic functionality": {
5611
+ "android": "11.9.0",
5612
+ "ios": "11.9.0"
5613
+ }
5614
+ }
5615
+ },
5616
+ "center-thinning": {
5356
5617
  "type": "number",
5357
5618
  "property-type": "data-constant",
5358
5619
  "default": 1,
@@ -5371,8 +5632,8 @@
5371
5632
  "doc": "Thinning factor of rain particles from center. 0 - no thinning. 1 - maximal central area thinning.",
5372
5633
  "sdk-support": {
5373
5634
  "basic functionality": {
5374
- "android": "11.8.0",
5375
- "ios": "11.8.0"
5635
+ "android": "11.9.0",
5636
+ "ios": "11.9.0"
5376
5637
  }
5377
5638
  }
5378
5639
  },
@@ -5397,15 +5658,72 @@
5397
5658
  ],
5398
5659
  "relaxZoomRestriction": true
5399
5660
  },
5400
- "doc": "Main rain particles direction. Heading & pitch",
5661
+ "doc": "Main rain particles direction. Azimuth and polar angles.",
5401
5662
  "example": [
5402
5663
  0,
5403
5664
  45
5404
5665
  ],
5405
5666
  "sdk-support": {
5406
5667
  "basic functionality": {
5407
- "android": "11.8.0",
5408
- "ios": "11.8.0"
5668
+ "android": "11.9.0",
5669
+ "ios": "11.9.0"
5670
+ }
5671
+ }
5672
+ },
5673
+ "droplet-size": {
5674
+ "type": "array",
5675
+ "default": [
5676
+ 1.0,
5677
+ 10.0
5678
+ ],
5679
+ "minimum": 0,
5680
+ "maximum": 20,
5681
+ "length": 2,
5682
+ "value": "number",
5683
+ "property-type": "data-constant",
5684
+ "transition": true,
5685
+ "experimental": true,
5686
+ "expression": {
5687
+ "interpolated": true,
5688
+ "parameters": [
5689
+ "zoom",
5690
+ "measure-light"
5691
+ ],
5692
+ "relaxZoomRestriction": true
5693
+ },
5694
+ "doc": "Rain droplet size. x - normal to direction, y - along direction",
5695
+ "example": [
5696
+ 0,
5697
+ 45
5698
+ ],
5699
+ "sdk-support": {
5700
+ "basic functionality": {
5701
+ "android": "11.9.0",
5702
+ "ios": "11.9.0"
5703
+ }
5704
+ }
5705
+ },
5706
+ "distortion-strength": {
5707
+ "type": "number",
5708
+ "property-type": "data-constant",
5709
+ "default": 0.5,
5710
+ "minimum": 0,
5711
+ "maximum": 1,
5712
+ "experimental": true,
5713
+ "expression": {
5714
+ "interpolated": true,
5715
+ "parameters": [
5716
+ "zoom",
5717
+ "measure-light"
5718
+ ],
5719
+ "relaxZoomRestriction": true
5720
+ },
5721
+ "transition": true,
5722
+ "doc": "Rain particles screen-space distortion strength.",
5723
+ "sdk-support": {
5724
+ "basic functionality": {
5725
+ "android": "11.9.0",
5726
+ "ios": "11.9.0"
5409
5727
  }
5410
5728
  }
5411
5729
  }
@@ -5451,6 +5769,28 @@
5451
5769
  }
5452
5770
  }
5453
5771
  },
5772
+ "indoor": {
5773
+ "floorplanFeaturesetId": {
5774
+ "type": "string",
5775
+ "doc": "An ID of a featureset to be used to query indoor floorplans.",
5776
+ "experimental": true,
5777
+ "transition": false,
5778
+ "property-type": "data-constant",
5779
+ "expression": {
5780
+ "interpolated": false
5781
+ }
5782
+ },
5783
+ "buildingFeaturesetId": {
5784
+ "type": "string",
5785
+ "doc": "An ID of a featureset to be used to add interactivity for building selection.",
5786
+ "experimental": true,
5787
+ "transition": false,
5788
+ "property-type": "data-constant",
5789
+ "expression": {
5790
+ "interpolated": false
5791
+ }
5792
+ }
5793
+ },
5454
5794
  "light": {
5455
5795
  "anchor": {
5456
5796
  "type": "enum",
@@ -6774,7 +7114,8 @@
6774
7114
  "zoom",
6775
7115
  "feature",
6776
7116
  "feature-state",
6777
- "measure-light"
7117
+ "measure-light",
7118
+ "line-progress"
6778
7119
  ]
6779
7120
  },
6780
7121
  "property-type": "data-driven"
@@ -8367,34 +8708,6 @@
8367
8708
  ]
8368
8709
  },
8369
8710
  "property-type": "data-driven"
8370
- },
8371
- "symbol-elevation-reference": {
8372
- "type": "enum",
8373
- "doc": "Selects the base of symbol-elevation.",
8374
- "values": {
8375
- "sea": {
8376
- "doc": "Elevate symbols relative to the sea level."
8377
- },
8378
- "ground": {
8379
- "doc": "Elevate symbols relative to the ground's height below them."
8380
- }
8381
- },
8382
- "default": "ground",
8383
- "experimental": true,
8384
- "sdk-support": {
8385
- "basic functionality": {
8386
- "js": "3.7.0",
8387
- "android": "11.7.0",
8388
- "ios": "11.7.0"
8389
- }
8390
- },
8391
- "expression": {
8392
- "interpolated": false,
8393
- "parameters": [
8394
- "zoom"
8395
- ]
8396
- },
8397
- "property-type": "data-constant"
8398
8711
  }
8399
8712
  },
8400
8713
  "paint_raster": {
@@ -9051,7 +9364,7 @@
9051
9364
  "doc": "The background is aligned to the plane of the map."
9052
9365
  },
9053
9366
  "viewport": {
9054
- "doc": "The background is aligned to the plane of the viewport, covering the whole screen."
9367
+ "doc": "The background is aligned to the plane of the viewport, covering the whole screen. Note: This mode disables the automatic reordering of the layer when terrain or globe projection is used."
9055
9368
  }
9056
9369
  },
9057
9370
  "default": "map",
@@ -9067,6 +9380,7 @@
9067
9380
  "interpolated": false,
9068
9381
  "parameters": []
9069
9382
  },
9383
+ "experimental": true,
9070
9384
  "property-type": "data-constant"
9071
9385
  },
9072
9386
  "background-color": {
@@ -9405,20 +9719,25 @@
9405
9719
  "default": 1,
9406
9720
  "minimum": 0,
9407
9721
  "maximum": 1,
9408
- "doc": "The opacity of the model layer.",
9722
+ "doc": "The opacity of the model layer. Except for zoom, expressions that are data-driven are not supported if using GeoJSON or vector tile as the model layer source.",
9409
9723
  "transition": true,
9410
9724
  "expression": {
9411
9725
  "interpolated": true,
9412
- "parameters": ["zoom"]
9726
+ "parameters": ["feature", "feature-state", "zoom"]
9413
9727
  },
9414
9728
  "sdk-support": {
9415
- "basic functionality": {
9729
+ "basic functionality": {
9416
9730
  "js": "3.0.0",
9417
9731
  "android": "11.0.0",
9418
9732
  "ios": "11.0.0"
9733
+ },
9734
+ "data-driven styling": {
9735
+ "js": "3.9.0",
9736
+ "android": "11.9.0",
9737
+ "ios": "11.9.0"
9419
9738
  }
9420
9739
  },
9421
- "property-type": "data-constant"
9740
+ "property-type": "data-driven"
9422
9741
  },
9423
9742
  "model-rotation": {
9424
9743
  "type": "array",