@mapbox/mapbox-gl-style-spec 14.8.0 → 14.9.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
@@ -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",
@@ -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",
@@ -1542,8 +1584,7 @@
1542
1584
  "expression": {
1543
1585
  "interpolated": false
1544
1586
  },
1545
- "property-type": "data-constant",
1546
- "experimental": true
1587
+ "property-type": "data-constant"
1547
1588
  },
1548
1589
  "clip-layer-scope": {
1549
1590
  "type": "array",
@@ -1560,8 +1601,7 @@
1560
1601
  "expression": {
1561
1602
  "interpolated": false
1562
1603
  },
1563
- "property-type": "data-constant",
1564
- "experimental": true
1604
+ "property-type": "data-constant"
1565
1605
  }
1566
1606
  },
1567
1607
  "layout_fill": {
@@ -2049,6 +2089,36 @@
2049
2089
  "interpolated": false
2050
2090
  },
2051
2091
  "property-type": "constant"
2092
+ },
2093
+ "line-width-unit": {
2094
+ "type": "enum",
2095
+ "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.",
2096
+ "values": {
2097
+ "pixels": {
2098
+ "doc": "Width is rendered in pixels."
2099
+ },
2100
+ "meters": {
2101
+ "doc": "Width is rendered in meters."
2102
+ }
2103
+ },
2104
+ "default": "pixels",
2105
+ "experimental": true,
2106
+ "private": true,
2107
+ "transition": false,
2108
+ "sdk-support": {
2109
+ "basic functionality": {
2110
+ "js": "3.9.0",
2111
+ "android": "11.9.0",
2112
+ "ios": "11.9.0"
2113
+ }
2114
+ },
2115
+ "expression": {
2116
+ "interpolated": false,
2117
+ "parameters": [
2118
+ "zoom"
2119
+ ]
2120
+ },
2121
+ "property-type": "data-constant"
2052
2122
  }
2053
2123
  },
2054
2124
  "layout_symbol": {
@@ -2163,7 +2233,7 @@
2163
2233
  "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`."
2164
2234
  },
2165
2235
  "viewport-y": {
2166
- "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`."
2236
+ "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`."
2167
2237
  },
2168
2238
  "source": {
2169
2239
  "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."
@@ -2400,9 +2470,7 @@
2400
2470
  },
2401
2471
  "sdk-support": {
2402
2472
  "basic functionality": {
2403
- "js": "3.8.0",
2404
- "android": "11.8.0",
2405
- "ios": "11.8.0"
2473
+ "js": "3.8.0"
2406
2474
  }
2407
2475
  },
2408
2476
  "property-type": "data-constant"
@@ -2914,9 +2982,7 @@
2914
2982
  },
2915
2983
  "sdk-support": {
2916
2984
  "basic functionality": {
2917
- "js": "3.8.0",
2918
- "android": "11.8.0",
2919
- "ios": "11.8.0"
2985
+ "js": "3.8.0"
2920
2986
  }
2921
2987
  },
2922
2988
  "property-type": "data-constant"
@@ -4188,7 +4254,7 @@
4188
4254
  }
4189
4255
  },
4190
4256
  "image": {
4191
- "doc": "Returns a [`ResolvedImage`](/mapbox-gl-js/style-spec/types/#resolvedimage) for use in [`icon-image`](/mapbox-gl-js/style-spec/layers/#layout-symbol-icon-image), `*-pattern` entries, and as a section in the [`'format'`](#types-format) expression. A [`'coalesce'`](#coalesce) expression containing `image` expressions will evaluate to the first listed image that is currently in the style. This validation process is synchronous and requires the image to have been added to the style before requesting it in the `'image'` argument. To implement crossfading between two images within a symbol layer using the [`icon-image-cross-fade`](/mapbox-gl-js/style-spec/layers/#paint-symbol-icon-image-cross-fade) attribute, include a second image as the second argument in the `'image'` expression.",
4257
+ "doc": "Returns a [`ResolvedImage`](/style-spec/reference/types/#resolvedimage) for use in [`icon-image`](/style-spec/reference/layers/#layout-symbol-icon-image), `*-pattern` entries, and as a section in the [`'format'`](#types-format) expression.\n\nA [`'coalesce'`](#coalesce) expression containing `image` expressions will evaluate to the first listed image that is currently in the style. This validation process is synchronous and requires the image to have been added to the style before requesting it in the `'image'` argument.\n\nEvery image name can be followed by an optional [`ImageOptions`](/style-spec/reference/types/#imageoptions) object, which will be used for vector images only.\n\nTo implement crossfading between two images within a symbol layer using the [`icon-image-cross-fade`](/style-spec/reference/layers/#paint-symbol-icon-image-cross-fade) attribute, include a second image as the second argument in the `'image'` expression.",
4192
4258
  "group": "Types",
4193
4259
  "sdk-support": {
4194
4260
  "basic functionality": {
@@ -4253,6 +4319,17 @@
4253
4319
  }
4254
4320
  }
4255
4321
  },
4322
+ "to-hsla": {
4323
+ "doc": "Returns a four-element array containing the input color's Hue, Saturation, Luminance and alpha components, in that order.",
4324
+ "group": "Color",
4325
+ "sdk-support": {
4326
+ "basic functionality": {
4327
+ "js": "3.9.0",
4328
+ "android": "11.9.0",
4329
+ "ios": "11.9.0"
4330
+ }
4331
+ }
4332
+ },
4256
4333
  "to-color": {
4257
4334
  "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.",
4258
4335
  "group": "Types",
@@ -5174,7 +5251,15 @@
5174
5251
  "density": {
5175
5252
  "type": "number",
5176
5253
  "property-type": "data-constant",
5177
- "default": 1,
5254
+ "default": [
5255
+ "interpolate",
5256
+ ["linear"],
5257
+ ["zoom"],
5258
+ 11,
5259
+ 0.0,
5260
+ 13,
5261
+ 0.85
5262
+ ],
5178
5263
  "minimum": 0,
5179
5264
  "maximum": 1,
5180
5265
  "experimental": true,
@@ -5187,11 +5272,11 @@
5187
5272
  "relaxZoomRestriction": true
5188
5273
  },
5189
5274
  "transition": true,
5190
- "doc": "Snow particles density.",
5275
+ "doc": "Snow particles density. Controls the overall particles number.",
5191
5276
  "sdk-support": {
5192
5277
  "basic functionality": {
5193
- "android": "11.8.0",
5194
- "ios": "11.8.0"
5278
+ "android": "11.9.0",
5279
+ "ios": "11.9.0"
5195
5280
  }
5196
5281
  }
5197
5282
  },
@@ -5211,11 +5296,11 @@
5211
5296
  "relaxZoomRestriction": true
5212
5297
  },
5213
5298
  "transition": true,
5214
- "doc": "Snow particles movement factor.",
5299
+ "doc": "Snow particles movement factor. Controls the overall particles movement speed.",
5215
5300
  "sdk-support": {
5216
5301
  "basic functionality": {
5217
- "android": "11.8.0",
5218
- "ios": "11.8.0"
5302
+ "android": "11.9.0",
5303
+ "ios": "11.9.0"
5219
5304
  }
5220
5305
  }
5221
5306
  },
@@ -5236,15 +5321,15 @@
5236
5321
  "doc": "Snow particles color.",
5237
5322
  "sdk-support": {
5238
5323
  "basic functionality": {
5239
- "android": "11.8.0",
5240
- "ios": "11.8.0"
5324
+ "android": "11.9.0",
5325
+ "ios": "11.9.0"
5241
5326
  }
5242
5327
  }
5243
5328
  },
5244
5329
  "opacity": {
5245
5330
  "type": "number",
5246
5331
  "property-type": "data-constant",
5247
- "default": 1,
5332
+ "default": 1.0,
5248
5333
  "minimum": 0,
5249
5334
  "maximum": 1,
5250
5335
  "experimental": true,
@@ -5260,15 +5345,23 @@
5260
5345
  "doc": "Snow particles opacity.",
5261
5346
  "sdk-support": {
5262
5347
  "basic functionality": {
5263
- "android": "11.8.0",
5264
- "ios": "11.8.0"
5348
+ "android": "11.9.0",
5349
+ "ios": "11.9.0"
5265
5350
  }
5266
5351
  }
5267
5352
  },
5268
5353
  "vignette": {
5269
5354
  "type": "number",
5270
5355
  "property-type": "data-constant",
5271
- "default": 0,
5356
+ "default": [
5357
+ "interpolate",
5358
+ ["linear"],
5359
+ ["zoom"],
5360
+ 11,
5361
+ 0.0,
5362
+ 13,
5363
+ 0.3
5364
+ ],
5272
5365
  "minimum": 0,
5273
5366
  "maximum": 1,
5274
5367
  "experimental": true,
@@ -5281,18 +5374,40 @@
5281
5374
  "relaxZoomRestriction": true
5282
5375
  },
5283
5376
  "transition": true,
5284
- "doc": "Snow vignette screen-space effect.",
5377
+ "doc": "Snow vignette screen-space effect. Adds snow tint to screen corners",
5285
5378
  "sdk-support": {
5286
5379
  "basic functionality": {
5287
- "android": "11.8.0",
5288
- "ios": "11.8.0"
5380
+ "android": "11.9.0",
5381
+ "ios": "11.9.0"
5382
+ }
5383
+ }
5384
+ },
5385
+ "vignette-color": {
5386
+ "type": "color",
5387
+ "property-type": "data-constant",
5388
+ "default": "#ffffff",
5389
+ "experimental": true,
5390
+ "expression": {
5391
+ "interpolated": true,
5392
+ "parameters": [
5393
+ "zoom",
5394
+ "measure-light"
5395
+ ],
5396
+ "relaxZoomRestriction": true
5397
+ },
5398
+ "transition": true,
5399
+ "doc": "Snow vignette screen-space corners tint color.",
5400
+ "sdk-support": {
5401
+ "basic functionality": {
5402
+ "android": "11.9.0",
5403
+ "ios": "11.9.0"
5289
5404
  }
5290
5405
  }
5291
5406
  },
5292
- "centerThinning": {
5407
+ "center-thinning": {
5293
5408
  "type": "number",
5294
5409
  "property-type": "data-constant",
5295
- "default": 1,
5410
+ "default": 0.4,
5296
5411
  "minimum": 0,
5297
5412
  "maximum": 1,
5298
5413
  "experimental": true,
@@ -5308,8 +5423,8 @@
5308
5423
  "doc": "Thinning factor of snow particles from center. 0 - no thinning. 1 - maximal central area thinning.",
5309
5424
  "sdk-support": {
5310
5425
  "basic functionality": {
5311
- "android": "11.8.0",
5312
- "ios": "11.8.0"
5426
+ "android": "11.9.0",
5427
+ "ios": "11.9.0"
5313
5428
  }
5314
5429
  }
5315
5430
  },
@@ -5317,7 +5432,7 @@
5317
5432
  "type": "array",
5318
5433
  "default": [
5319
5434
  0.0,
5320
- 90.0
5435
+ 50.0
5321
5436
  ],
5322
5437
  "minimum": 0,
5323
5438
  "maximum": 360,
@@ -5334,15 +5449,39 @@
5334
5449
  ],
5335
5450
  "relaxZoomRestriction": true
5336
5451
  },
5337
- "doc": "Main snow particles direction. Heading & pitch",
5452
+ "doc": "Main snow particles direction. Azimuth and polar angles",
5338
5453
  "example": [
5339
5454
  0,
5340
5455
  45
5341
5456
  ],
5342
5457
  "sdk-support": {
5343
5458
  "basic functionality": {
5344
- "android": "11.8.0",
5345
- "ios": "11.8.0"
5459
+ "android": "11.9.0",
5460
+ "ios": "11.9.0"
5461
+ }
5462
+ }
5463
+ },
5464
+ "flake-size": {
5465
+ "type": "number",
5466
+ "property-type": "data-constant",
5467
+ "default": 0.71,
5468
+ "minimum": 0,
5469
+ "maximum": 5,
5470
+ "experimental": true,
5471
+ "expression": {
5472
+ "interpolated": true,
5473
+ "parameters": [
5474
+ "zoom",
5475
+ "measure-light"
5476
+ ],
5477
+ "relaxZoomRestriction": true
5478
+ },
5479
+ "transition": true,
5480
+ "doc": "Snow flake particle size. Correlates with individual particle screen size",
5481
+ "sdk-support": {
5482
+ "basic functionality": {
5483
+ "android": "11.9.0",
5484
+ "ios": "11.9.0"
5346
5485
  }
5347
5486
  }
5348
5487
  }
@@ -5351,7 +5490,15 @@
5351
5490
  "density": {
5352
5491
  "type": "number",
5353
5492
  "property-type": "data-constant",
5354
- "default": 1,
5493
+ "default": [
5494
+ "interpolate",
5495
+ ["linear"],
5496
+ ["zoom"],
5497
+ 11,
5498
+ 0.0,
5499
+ 13,
5500
+ 0.5
5501
+ ],
5355
5502
  "minimum": 0,
5356
5503
  "maximum": 1,
5357
5504
  "experimental": true,
@@ -5364,11 +5511,11 @@
5364
5511
  "relaxZoomRestriction": true
5365
5512
  },
5366
5513
  "transition": true,
5367
- "doc": "Rain particles density.",
5514
+ "doc": "Rain particles density. Controls the overall screen density of the rain.",
5368
5515
  "sdk-support": {
5369
5516
  "basic functionality": {
5370
- "android": "11.8.0",
5371
- "ios": "11.8.0"
5517
+ "android": "11.9.0",
5518
+ "ios": "11.9.0"
5372
5519
  }
5373
5520
  }
5374
5521
  },
@@ -5388,18 +5535,26 @@
5388
5535
  "relaxZoomRestriction": true
5389
5536
  },
5390
5537
  "transition": true,
5391
- "doc": "Rain particles movement factor.",
5538
+ "doc": "Rain particles movement factor. Controls the overall rain particles speed",
5392
5539
  "sdk-support": {
5393
5540
  "basic functionality": {
5394
- "android": "11.8.0",
5395
- "ios": "11.8.0"
5541
+ "android": "11.9.0",
5542
+ "ios": "11.9.0"
5396
5543
  }
5397
5544
  }
5398
5545
  },
5399
5546
  "color": {
5400
5547
  "type": "color",
5401
5548
  "property-type": "data-constant",
5402
- "default": "#ffffff",
5549
+ "default": [
5550
+ "interpolate",
5551
+ ["linear"],
5552
+ [ "measure-light", "brightness" ],
5553
+ 0,
5554
+ "#03113d",
5555
+ 0.3,
5556
+ "#a8adbc"
5557
+ ],
5403
5558
  "experimental": true,
5404
5559
  "expression": {
5405
5560
  "interpolated": true,
@@ -5410,18 +5565,26 @@
5410
5565
  "relaxZoomRestriction": true
5411
5566
  },
5412
5567
  "transition": true,
5413
- "doc": "",
5568
+ "doc": "Individual rain particle dorplets color.",
5414
5569
  "sdk-support": {
5415
5570
  "basic functionality": {
5416
- "android": "11.8.0",
5417
- "ios": "11.8.0"
5571
+ "android": "11.9.0",
5572
+ "ios": "11.9.0"
5418
5573
  }
5419
5574
  }
5420
5575
  },
5421
5576
  "opacity": {
5422
5577
  "type": "number",
5423
5578
  "property-type": "data-constant",
5424
- "default": 1,
5579
+ "default": [
5580
+ "interpolate",
5581
+ ["linear"],
5582
+ [ "measure-light", "brightness" ],
5583
+ 0,
5584
+ 0.88,
5585
+ 1,
5586
+ 0.7
5587
+ ],
5425
5588
  "minimum": 0,
5426
5589
  "maximum": 1,
5427
5590
  "experimental": true,
@@ -5437,15 +5600,23 @@
5437
5600
  "doc": "Rain particles opacity.",
5438
5601
  "sdk-support": {
5439
5602
  "basic functionality": {
5440
- "android": "11.8.0",
5441
- "ios": "11.8.0"
5603
+ "android": "11.9.0",
5604
+ "ios": "11.9.0"
5442
5605
  }
5443
5606
  }
5444
5607
  },
5445
5608
  "vignette": {
5446
5609
  "type": "number",
5447
5610
  "property-type": "data-constant",
5448
- "default": 0,
5611
+ "default": [
5612
+ "interpolate",
5613
+ ["linear"],
5614
+ ["zoom"],
5615
+ 11,
5616
+ 0.0,
5617
+ 13,
5618
+ 1.0
5619
+ ],
5449
5620
  "minimum": 0,
5450
5621
  "maximum": 1,
5451
5622
  "experimental": true,
@@ -5458,18 +5629,48 @@
5458
5629
  "relaxZoomRestriction": true
5459
5630
  },
5460
5631
  "transition": true,
5461
- "doc": "Rain vignette screen-space effect.",
5632
+ "doc": "Screen-space vignette rain tinting effect intensity.",
5462
5633
  "sdk-support": {
5463
5634
  "basic functionality": {
5464
- "android": "11.8.0",
5465
- "ios": "11.8.0"
5635
+ "android": "11.9.0",
5636
+ "ios": "11.9.0"
5637
+ }
5638
+ }
5639
+ },
5640
+ "vignette-color": {
5641
+ "type": "color",
5642
+ "property-type": "data-constant",
5643
+ "default": [
5644
+ "interpolate",
5645
+ ["linear"],
5646
+ [ "measure-light", "brightness" ],
5647
+ 0,
5648
+ "#001736",
5649
+ 0.3,
5650
+ "#464646"
5651
+ ],
5652
+ "experimental": true,
5653
+ "expression": {
5654
+ "interpolated": true,
5655
+ "parameters": [
5656
+ "zoom",
5657
+ "measure-light"
5658
+ ],
5659
+ "relaxZoomRestriction": true
5660
+ },
5661
+ "transition": true,
5662
+ "doc": "Rain vignette screen-space corners tint color.",
5663
+ "sdk-support": {
5664
+ "basic functionality": {
5665
+ "android": "11.9.0",
5666
+ "ios": "11.9.0"
5466
5667
  }
5467
5668
  }
5468
5669
  },
5469
- "centerThinning": {
5670
+ "center-thinning": {
5470
5671
  "type": "number",
5471
5672
  "property-type": "data-constant",
5472
- "default": 1,
5673
+ "default": 0.57,
5473
5674
  "minimum": 0,
5474
5675
  "maximum": 1,
5475
5676
  "experimental": true,
@@ -5485,8 +5686,8 @@
5485
5686
  "doc": "Thinning factor of rain particles from center. 0 - no thinning. 1 - maximal central area thinning.",
5486
5687
  "sdk-support": {
5487
5688
  "basic functionality": {
5488
- "android": "11.8.0",
5489
- "ios": "11.8.0"
5689
+ "android": "11.9.0",
5690
+ "ios": "11.9.0"
5490
5691
  }
5491
5692
  }
5492
5693
  },
@@ -5511,15 +5712,72 @@
5511
5712
  ],
5512
5713
  "relaxZoomRestriction": true
5513
5714
  },
5514
- "doc": "Main rain particles direction. Heading & pitch",
5715
+ "doc": "Main rain particles direction. Azimuth and polar angles.",
5515
5716
  "example": [
5516
5717
  0,
5517
5718
  45
5518
5719
  ],
5519
5720
  "sdk-support": {
5520
5721
  "basic functionality": {
5521
- "android": "11.8.0",
5522
- "ios": "11.8.0"
5722
+ "android": "11.9.0",
5723
+ "ios": "11.9.0"
5724
+ }
5725
+ }
5726
+ },
5727
+ "droplet-size": {
5728
+ "type": "array",
5729
+ "default": [
5730
+ 2.6,
5731
+ 18.2
5732
+ ],
5733
+ "minimum": 0,
5734
+ "maximum": 50,
5735
+ "length": 2,
5736
+ "value": "number",
5737
+ "property-type": "data-constant",
5738
+ "transition": true,
5739
+ "experimental": true,
5740
+ "expression": {
5741
+ "interpolated": true,
5742
+ "parameters": [
5743
+ "zoom",
5744
+ "measure-light"
5745
+ ],
5746
+ "relaxZoomRestriction": true
5747
+ },
5748
+ "doc": "Rain droplet size. x - normal to direction, y - along direction",
5749
+ "example": [
5750
+ 0,
5751
+ 45
5752
+ ],
5753
+ "sdk-support": {
5754
+ "basic functionality": {
5755
+ "android": "11.9.0",
5756
+ "ios": "11.9.0"
5757
+ }
5758
+ }
5759
+ },
5760
+ "distortion-strength": {
5761
+ "type": "number",
5762
+ "property-type": "data-constant",
5763
+ "default": 0.7,
5764
+ "minimum": 0,
5765
+ "maximum": 1,
5766
+ "experimental": true,
5767
+ "expression": {
5768
+ "interpolated": true,
5769
+ "parameters": [
5770
+ "zoom",
5771
+ "measure-light"
5772
+ ],
5773
+ "relaxZoomRestriction": true
5774
+ },
5775
+ "transition": true,
5776
+ "doc": "Rain particles screen-space distortion strength.",
5777
+ "sdk-support": {
5778
+ "basic functionality": {
5779
+ "android": "11.9.0",
5780
+ "ios": "11.9.0"
5523
5781
  }
5524
5782
  }
5525
5783
  }
@@ -5565,6 +5823,28 @@
5565
5823
  }
5566
5824
  }
5567
5825
  },
5826
+ "indoor": {
5827
+ "floorplanFeaturesetId": {
5828
+ "type": "string",
5829
+ "doc": "An ID of a featureset to be used to query indoor floorplans.",
5830
+ "experimental": true,
5831
+ "transition": false,
5832
+ "property-type": "data-constant",
5833
+ "expression": {
5834
+ "interpolated": false
5835
+ }
5836
+ },
5837
+ "buildingFeaturesetId": {
5838
+ "type": "string",
5839
+ "doc": "An ID of a featureset to be used to add interactivity for building selection.",
5840
+ "experimental": true,
5841
+ "transition": false,
5842
+ "property-type": "data-constant",
5843
+ "expression": {
5844
+ "interpolated": false
5845
+ }
5846
+ }
5847
+ },
5568
5848
  "light": {
5569
5849
  "anchor": {
5570
5850
  "type": "enum",
@@ -6888,7 +7168,8 @@
6888
7168
  "zoom",
6889
7169
  "feature",
6890
7170
  "feature-state",
6891
- "measure-light"
7171
+ "measure-light",
7172
+ "line-progress"
6892
7173
  ]
6893
7174
  },
6894
7175
  "property-type": "data-driven"
@@ -8761,9 +9042,9 @@
8761
9042
  ],
8762
9043
  "sdk-support": {
8763
9044
  "basic functionality": {
8764
- "js": "3.0.0",
8765
- "android": "11.0.0",
8766
- "ios": "11.0.0"
9045
+ "js": "3.1.0",
9046
+ "android": "11.1.0",
9047
+ "ios": "11.1.0"
8767
9048
  }
8768
9049
  },
8769
9050
  "expression": {
@@ -9137,7 +9418,7 @@
9137
9418
  "doc": "The background is aligned to the plane of the map."
9138
9419
  },
9139
9420
  "viewport": {
9140
- "doc": "The background is aligned to the plane of the viewport, covering the whole screen."
9421
+ "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."
9141
9422
  }
9142
9423
  },
9143
9424
  "default": "map",
@@ -9153,6 +9434,7 @@
9153
9434
  "interpolated": false,
9154
9435
  "parameters": []
9155
9436
  },
9437
+ "experimental": true,
9156
9438
  "property-type": "data-constant"
9157
9439
  },
9158
9440
  "background-color": {
@@ -9491,20 +9773,25 @@
9491
9773
  "default": 1,
9492
9774
  "minimum": 0,
9493
9775
  "maximum": 1,
9494
- "doc": "The opacity of the model layer.",
9776
+ "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.",
9495
9777
  "transition": true,
9496
9778
  "expression": {
9497
9779
  "interpolated": true,
9498
- "parameters": ["zoom"]
9780
+ "parameters": ["feature", "feature-state", "zoom"]
9499
9781
  },
9500
9782
  "sdk-support": {
9501
- "basic functionality": {
9783
+ "basic functionality": {
9502
9784
  "js": "3.0.0",
9503
9785
  "android": "11.0.0",
9504
9786
  "ios": "11.0.0"
9787
+ },
9788
+ "data-driven styling": {
9789
+ "js": "3.9.0",
9790
+ "android": "11.9.0",
9791
+ "ios": "11.9.0"
9505
9792
  }
9506
9793
  },
9507
- "property-type": "data-constant"
9794
+ "property-type": "data-driven"
9508
9795
  },
9509
9796
  "model-rotation": {
9510
9797
  "type": "array",