@mapbox/mapbox-gl-style-spec 14.12.0 → 14.13.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
@@ -502,6 +502,7 @@
502
502
  "zoom"
503
503
  ]
504
504
  },
505
+ "use-theme": true,
505
506
  "transition": true,
506
507
  "doc": "Color of the directional light.",
507
508
  "sdk-support": {
@@ -604,6 +605,7 @@
604
605
  "zoom"
605
606
  ]
606
607
  },
608
+ "use-theme": true,
607
609
  "transition": true,
608
610
  "doc": "Color of the ambient light.",
609
611
  "sdk-support": {
@@ -708,6 +710,7 @@
708
710
  "zoom"
709
711
  ]
710
712
  },
713
+ "use-theme": true,
711
714
  "transition": true,
712
715
  "doc": "Color tint for lighting extruded geometries.",
713
716
  "sdk-support": {
@@ -842,6 +845,7 @@
842
845
  "length": 4,
843
846
  "doc": "An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: `[sw.lng, sw.lat, ne.lng, ne.lat]`."
844
847
  },
848
+ "experimental": true,
845
849
  "doc": "An array of additional discrete geographic regions where tiles are available. When used alongside the `bounds` property, these regions act as an additional filter - Mapbox GL will only request tiles that are both within the `bounds` and any of the regions defined in `extra_bounds`. When used independently (without `bounds`), Mapbox GL will request tiles that fall within any of the regions in `extra_bounds`. This allows for more fine-grained control over tile requests, particularly when dealing with sparse data coverage."
846
850
  },
847
851
  "scheme": {
@@ -931,6 +935,7 @@
931
935
  "length": 4,
932
936
  "doc": "An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: `[sw.lng, sw.lat, ne.lng, ne.lat]`."
933
937
  },
938
+ "experimental": true,
934
939
  "doc": "An array of additional discrete geographic regions where tiles are available. When used alongside the `bounds` property, these regions act as an additional filter - Mapbox GL will only request tiles that are both within the `bounds` and any of the regions defined in `extra_bounds`. When used independently (without `bounds`), Mapbox GL will request tiles that fall within any of the regions in `extra_bounds`. This allows for more fine-grained control over tile requests, particularly when dealing with sparse data coverage."
935
940
  },
936
941
  "minzoom": {
@@ -1022,6 +1027,7 @@
1022
1027
  "length": 4,
1023
1028
  "doc": "An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: `[sw.lng, sw.lat, ne.lng, ne.lat]`."
1024
1029
  },
1030
+ "experimental": true,
1025
1031
  "doc": "An array of additional discrete geographic regions where tiles are available. When used alongside the `bounds` property, these regions act as an additional filter - Mapbox GL will only request tiles that are both within the `bounds` and any of the regions defined in `extra_bounds`. When used independently (without `bounds`), Mapbox GL will request tiles that fall within any of the regions in `extra_bounds`. This allows for more fine-grained control over tile requests, particularly when dealing with sparse data coverage."
1026
1032
  },
1027
1033
  "minzoom": {
@@ -1114,6 +1120,7 @@
1114
1120
  "length": 4,
1115
1121
  "doc": "An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: `[sw.lng, sw.lat, ne.lng, ne.lat]`."
1116
1122
  },
1123
+ "experimental": true,
1117
1124
  "doc": "An array of additional discrete geographic regions where tiles are available. When used alongside the `bounds` property, these regions act as an additional filter - Mapbox GL will only request tiles that are both within the `bounds` and any of the regions defined in `extra_bounds`. When used independently (without `bounds`), Mapbox GL will request tiles that fall within any of the regions in `extra_bounds`. This allows for more fine-grained control over tile requests, particularly when dealing with sparse data coverage."
1118
1125
  },
1119
1126
  "minzoom": {
@@ -1822,11 +1829,13 @@
1822
1829
  "sdk-support": {
1823
1830
  "basic functionality": {
1824
1831
  "android": "11.11.0",
1825
- "ios": "11.11.0"
1832
+ "ios": "11.11.0",
1833
+ "js": "3.14.0"
1826
1834
  },
1827
1835
  "data-driven styling": {
1828
1836
  "android": "11.11.0",
1829
- "ios": "11.11.0"
1837
+ "ios": "11.11.0",
1838
+ "js": "3.14.0"
1830
1839
  }
1831
1840
  },
1832
1841
  "expression": {
@@ -1881,7 +1890,8 @@
1881
1890
  "sdk-support": {
1882
1891
  "basic functionality": {
1883
1892
  "android": "11.11.0",
1884
- "ios": "11.11.0"
1893
+ "ios": "11.11.0",
1894
+ "js": "3.14.0"
1885
1895
  }
1886
1896
  },
1887
1897
  "expression": {
@@ -4758,6 +4768,18 @@
4758
4768
  }
4759
4769
  }
4760
4770
  },
4771
+ "worldview": {
4772
+ "doc": "Returns the current worldview being used.",
4773
+ "group": "Lookup",
4774
+ "experimental": true,
4775
+ "sdk-support": {
4776
+ "basic functionality": {
4777
+ "js": "3.13.0",
4778
+ "android": "11.13.0",
4779
+ "ios": "11.13.0"
4780
+ }
4781
+ }
4782
+ },
4761
4783
  "id": {
4762
4784
  "doc": "Returns the feature's id, if it has one.",
4763
4785
  "group": "Feature data",
@@ -5386,6 +5408,7 @@
5386
5408
  ],
5387
5409
  "relaxZoomRestriction": true
5388
5410
  },
5411
+ "use-theme": true,
5389
5412
  "transition": true,
5390
5413
  "doc": "The color of the atmosphere region immediately below the horizon and within the `range` and above the horizon and within `horizon-blend`. Using opacity is recommended only for smoothly transitioning fog on/off as anything less than 100% opacity results in more tiles loaded and drawn.",
5391
5414
  "sdk-support": {
@@ -5408,6 +5431,7 @@
5408
5431
  ],
5409
5432
  "relaxZoomRestriction": true
5410
5433
  },
5434
+ "use-theme": true,
5411
5435
  "transition": true,
5412
5436
  "doc": "The color of the atmosphere region above the horizon, `high-color` extends further above the horizon than the `color` property and its spread can be controlled with `horizon-blend`. The opacity can be set to `0` to remove the high atmosphere color contribution.",
5413
5437
  "sdk-support": {
@@ -5421,7 +5445,6 @@
5421
5445
  "space-color": {
5422
5446
  "type": "color",
5423
5447
  "property-type": "data-constant",
5424
-
5425
5448
  "default":
5426
5449
  [
5427
5450
  "interpolate",
@@ -5444,6 +5467,7 @@
5444
5467
  ],
5445
5468
  "relaxZoomRestriction": true
5446
5469
  },
5470
+ "use-theme": true,
5447
5471
  "transition": true,
5448
5472
  "doc": "The color of the region above the horizon and after the end of the `horizon-blend` contribution. The opacity can be set to `0` to have a transparent background.",
5449
5473
  "sdk-support": {
@@ -5626,6 +5650,7 @@
5626
5650
  ],
5627
5651
  "relaxZoomRestriction": true
5628
5652
  },
5653
+ "use-theme": true,
5629
5654
  "transition": true,
5630
5655
  "doc": "Snow particles color.",
5631
5656
  "sdk-support": {
@@ -5707,6 +5732,7 @@
5707
5732
  ],
5708
5733
  "relaxZoomRestriction": true
5709
5734
  },
5735
+ "use-theme": true,
5710
5736
  "transition": true,
5711
5737
  "doc": "Snow vignette screen-space corners tint color.",
5712
5738
  "sdk-support": {
@@ -5882,6 +5908,7 @@
5882
5908
  ],
5883
5909
  "relaxZoomRestriction": true
5884
5910
  },
5911
+ "use-theme": true,
5885
5912
  "transition": true,
5886
5913
  "doc": "Individual rain particle dorplets color.",
5887
5914
  "sdk-support": {
@@ -5979,6 +6006,7 @@
5979
6006
  ],
5980
6007
  "relaxZoomRestriction": true
5981
6008
  },
6009
+ "use-theme": true,
5982
6010
  "transition": true,
5983
6011
  "doc": "Rain vignette screen-space corners tint color.",
5984
6012
  "sdk-support": {
@@ -6242,6 +6270,7 @@
6242
6270
  "zoom"
6243
6271
  ]
6244
6272
  },
6273
+ "use-theme": true,
6245
6274
  "transition": true,
6246
6275
  "doc": "Color tint for lighting extruded geometries.",
6247
6276
  "sdk-support": {
@@ -6478,6 +6507,7 @@
6478
6507
  "type": "color",
6479
6508
  "default": "#000000",
6480
6509
  "doc": "The color of the filled part of this layer. This color can be specified as `rgba` with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used.",
6510
+ "use-theme": true,
6481
6511
  "transition": true,
6482
6512
  "requires": [
6483
6513
  {
@@ -6510,6 +6540,7 @@
6510
6540
  "fill-outline-color": {
6511
6541
  "type": "color",
6512
6542
  "doc": "The outline color of the fill. Matches the value of `fill-color` if unspecified.",
6543
+ "use-theme": true,
6513
6544
  "transition": true,
6514
6545
  "requires": [
6515
6546
  {
@@ -6641,11 +6672,12 @@
6641
6672
  ],
6642
6673
  "sdk-support": {
6643
6674
  "basic functionality": {
6644
- "js": "3.12.0"
6675
+ "js": "3.12.0",
6676
+ "android": "11.14.0",
6677
+ "ios": "11.14.0"
6645
6678
  }
6646
6679
  },
6647
- "doc": "Controls the transition progress between the image variants of fill-pattern. Zero means the first variant is used, one is the second, and in between they are blended together.",
6648
- "transition": true
6680
+ "doc": "Controls the transition progress between the image variants of fill-pattern. Zero means the first variant is used, one is the second, and in between they are blended together. Both images should be the same size and have the same type (either raster or vector)."
6649
6681
  },
6650
6682
  "fill-emissive-strength": {
6651
6683
  "type": "number",
@@ -6703,15 +6735,18 @@
6703
6735
  "doc": "The color of bridge guard rail.",
6704
6736
  "experimental": true,
6705
6737
  "private": true,
6738
+ "use-theme": true,
6706
6739
  "transition": true,
6707
6740
  "sdk-support": {
6708
6741
  "basic functionality": {
6709
6742
  "android": "11.11.0",
6710
- "ios": "11.11.0"
6743
+ "ios": "11.11.0",
6744
+ "js": "3.14.0"
6711
6745
  },
6712
6746
  "data-driven styling": {
6713
6747
  "android": "11.11.0",
6714
- "ios": "11.11.0"
6748
+ "ios": "11.11.0",
6749
+ "js": "3.14.0"
6715
6750
  }
6716
6751
  },
6717
6752
  "expression": {
@@ -6728,17 +6763,20 @@
6728
6763
  "type": "color",
6729
6764
  "default": "rgba(241, 236, 225, 255)",
6730
6765
  "doc": "The color of tunnel structures (tunnel entrance and tunnel walls).",
6766
+ "use-theme": true,
6731
6767
  "transition": true,
6732
6768
  "experimental": true,
6733
6769
  "private": true,
6734
6770
  "sdk-support": {
6735
6771
  "basic functionality": {
6736
6772
  "android": "11.11.0",
6737
- "ios": "11.11.0"
6773
+ "ios": "11.11.0",
6774
+ "js": "3.14.0"
6738
6775
  },
6739
6776
  "data-driven styling": {
6740
6777
  "android": "11.11.0",
6741
- "ios": "11.11.0"
6778
+ "ios": "11.11.0",
6779
+ "js": "3.14.0"
6742
6780
  }
6743
6781
  },
6744
6782
  "expression": {
@@ -6779,6 +6817,7 @@
6779
6817
  "type": "color",
6780
6818
  "default": "#000000",
6781
6819
  "doc": "The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; use `fill-extrusion-opacity` to set layer opacity.",
6820
+ "use-theme": true,
6782
6821
  "transition": true,
6783
6822
  "requires": [
6784
6823
  {
@@ -6907,11 +6946,12 @@
6907
6946
  ],
6908
6947
  "sdk-support": {
6909
6948
  "basic functionality": {
6910
- "js": "3.12.0"
6949
+ "js": "3.12.0",
6950
+ "android": "11.14.0",
6951
+ "ios": "11.14.0"
6911
6952
  }
6912
6953
  },
6913
- "doc": "Controls the transition progress between the image variants of fill-extrusion-pattern. Zero means the first variant is used, one is the second, and in between they are blended together.",
6914
- "transition": true
6954
+ "doc": "Controls the transition progress between the image variants of fill-extrusion-pattern. Zero means the first variant is used, one is the second, and in between they are blended together. Both images should be the same size and have the same type (either raster or vector)."
6915
6955
  },
6916
6956
  "fill-extrusion-height": {
6917
6957
  "type": "number",
@@ -7176,6 +7216,7 @@
7176
7216
  "requires": [
7177
7217
  "lights"
7178
7218
  ],
7219
+ "use-theme": true,
7179
7220
  "transition": true,
7180
7221
  "expression": {
7181
7222
  "interpolated": true,
@@ -7596,6 +7637,8 @@
7596
7637
  "doc": "Color buildings. This can be styled using different building parts (e.g. windows, wall, roof, etc.). This won't be used if `building-roof-shape` has a value `flat`.",
7597
7638
  "experimental": true,
7598
7639
  "private": true,
7640
+ "use-theme": true,
7641
+ "transition": false,
7599
7642
  "sdk-support": {
7600
7643
  "basic functionality": {
7601
7644
  },
@@ -7670,6 +7713,7 @@
7670
7713
  "type": "color",
7671
7714
  "doc": "The color with which the line will be drawn.",
7672
7715
  "default": "#000000",
7716
+ "use-theme": true,
7673
7717
  "transition": true,
7674
7718
  "requires": [
7675
7719
  {
@@ -7949,11 +7993,12 @@
7949
7993
  ],
7950
7994
  "sdk-support": {
7951
7995
  "basic functionality": {
7952
- "js": "3.12.0"
7996
+ "js": "3.12.0",
7997
+ "android": "11.14.0",
7998
+ "ios": "11.14.0"
7953
7999
  }
7954
8000
  },
7955
- "doc": "Controls the transition progress between the image variants of line-pattern. Zero means the first variant is used, one is the second, and in between they are blended together.",
7956
- "transition": true
8001
+ "doc": "Controls the transition progress between the image variants of line-pattern. Zero means the first variant is used, one is the second, and in between they are blended together. Both images should be the same size and have the same type (either raster or vector)."
7957
8002
  },
7958
8003
  "line-gradient": {
7959
8004
  "type": "color",
@@ -7975,6 +8020,7 @@
7975
8020
  1,
7976
8021
  "red"
7977
8022
  ],
8023
+ "use-theme": true,
7978
8024
  "transition": false,
7979
8025
  "requires": [
7980
8026
  {
@@ -8069,6 +8115,7 @@
8069
8115
  "doc": "The color to be used for rendering the trimmed line section that is defined by the `line-trim-offset` property.",
8070
8116
  "experimental": true,
8071
8117
  "default": "transparent",
8118
+ "use-theme": true,
8072
8119
  "transition": true,
8073
8120
  "requires": [
8074
8121
  "line-trim-offset",
@@ -8155,6 +8202,7 @@
8155
8202
  "private": true,
8156
8203
  "doc": "The color of the line border. If line-border-width is greater than zero and the alpha value of this color is 0 (default), the color for the border will be selected automatically based on the line color.",
8157
8204
  "default": "rgba(0, 0, 0, 0)",
8205
+ "use-theme": true,
8158
8206
  "transition": true,
8159
8207
  "sdk-support": {
8160
8208
  "basic functionality": {
@@ -8236,6 +8284,7 @@
8236
8284
  "type": "color",
8237
8285
  "default": "#000000",
8238
8286
  "doc": "The fill color of the circle.",
8287
+ "use-theme": true,
8239
8288
  "transition": true,
8240
8289
  "sdk-support": {
8241
8290
  "basic functionality": {
@@ -8462,6 +8511,7 @@
8462
8511
  "type": "color",
8463
8512
  "default": "#000000",
8464
8513
  "doc": "The stroke color of the circle.",
8514
+ "use-theme": true,
8465
8515
  "transition": true,
8466
8516
  "sdk-support": {
8467
8517
  "basic functionality": {
@@ -8648,6 +8698,7 @@
8648
8698
  "red"
8649
8699
  ],
8650
8700
  "doc": "Defines the color of each pixel based on its density value in a heatmap. Should be an expression that uses `[\"heatmap-density\"]` as input.",
8701
+ "use-theme": true,
8651
8702
  "transition": false,
8652
8703
  "sdk-support": {
8653
8704
  "basic functionality": {
@@ -8822,6 +8873,7 @@
8822
8873
  "icon-color": {
8823
8874
  "type": "color",
8824
8875
  "default": "#000000",
8876
+ "use-theme": true,
8825
8877
  "transition": true,
8826
8878
  "doc": "The color of the icon. This can only be used with [SDF icons](/help/troubleshooting/using-recolorable-images-in-mapbox-maps/).",
8827
8879
  "requires": [
@@ -8853,6 +8905,7 @@
8853
8905
  "icon-halo-color": {
8854
8906
  "type": "color",
8855
8907
  "default": "rgba(0, 0, 0, 0)",
8908
+ "use-theme": true,
8856
8909
  "transition": true,
8857
8910
  "doc": "The color of the icon's halo. Icon halos can only be used with [SDF icons](/help/troubleshooting/using-recolorable-images-in-mapbox-maps/).",
8858
8911
  "requires": [
@@ -9030,8 +9083,7 @@
9030
9083
  "ios": "11.0.0"
9031
9084
  }
9032
9085
  },
9033
- "doc": "Controls the transition progress between the image variants of icon-image. Zero means the first variant is used, one is the second, and in between they are blended together.",
9034
- "transition": true
9086
+ "doc": "Controls the transition progress between the image variants of icon-image. Zero means the first variant is used, one is the second, and in between they are blended together. . Both images should be the same size and have the same type (either raster or vector)."
9035
9087
  },
9036
9088
  "text-opacity": {
9037
9089
  "type": "number",
@@ -9103,6 +9155,7 @@
9103
9155
  "type": "color",
9104
9156
  "doc": "The color with which the text will be drawn.",
9105
9157
  "default": "#000000",
9158
+ "use-theme": true,
9106
9159
  "transition": true,
9107
9160
  "overridable": true,
9108
9161
  "requires": [
@@ -9134,6 +9187,7 @@
9134
9187
  "text-halo-color": {
9135
9188
  "type": "color",
9136
9189
  "default": "rgba(0, 0, 0, 0)",
9190
+ "use-theme": true,
9137
9191
  "transition": true,
9138
9192
  "doc": "The color of the text's halo, which helps it stand out from backgrounds.",
9139
9193
  "requires": [
@@ -9419,6 +9473,7 @@
9419
9473
  "raster-color": {
9420
9474
  "type": "color",
9421
9475
  "doc": "Defines a color map by which to colorize a raster layer, parameterized by the `[\"raster-value\"]` expression and evaluated at 256 uniformly spaced steps over the range specified by `raster-color-range`.",
9476
+ "use-theme": true,
9422
9477
  "transition": false,
9423
9478
  "sdk-support": {
9424
9479
  "basic functionality": {
@@ -9763,6 +9818,7 @@
9763
9818
  "raster-particle-color": {
9764
9819
  "type": "color",
9765
9820
  "doc": "Defines a color map by which to colorize a raster particle layer, parameterized by the `[\"raster-particle-speed\"]` expression and evaluated at 256 uniformly spaced steps over the range specified by `raster-particle-max-speed`.",
9821
+ "use-theme": true,
9766
9822
  "transition": false,
9767
9823
  "sdk-support": {
9768
9824
  "basic functionality": {
@@ -9953,6 +10009,7 @@
9953
10009
  "type": "color",
9954
10010
  "default": "#000000",
9955
10011
  "doc": "The shading color of areas that face away from the light source.",
10012
+ "use-theme": true,
9956
10013
  "transition": true,
9957
10014
  "sdk-support": {
9958
10015
  "basic functionality": {
@@ -9974,6 +10031,7 @@
9974
10031
  "type": "color",
9975
10032
  "default": "#FFFFFF",
9976
10033
  "doc": "The shading color of areas that faces towards the light source.",
10034
+ "use-theme": true,
9977
10035
  "transition": true,
9978
10036
  "sdk-support": {
9979
10037
  "basic functionality": {
@@ -9995,6 +10053,7 @@
9995
10053
  "type": "color",
9996
10054
  "default": "#000000",
9997
10055
  "doc": "The shading color used to accentuate rugged terrain like sharp cliffs and gorges.",
10056
+ "use-theme": true,
9998
10057
  "transition": true,
9999
10058
  "sdk-support": {
10000
10059
  "basic functionality": {
@@ -10070,6 +10129,7 @@
10070
10129
  "type": "color",
10071
10130
  "default": "#000000",
10072
10131
  "doc": "The color with which the background will be drawn.",
10132
+ "use-theme": true,
10073
10133
  "transition": true,
10074
10134
  "requires": [
10075
10135
  {
@@ -10313,6 +10373,7 @@
10313
10373
  "white"
10314
10374
  ],
10315
10375
  "doc": "Defines a radial color gradient with which to color the sky. The color values can be interpolated with an expression using `sky-radial-progress`. The range [0, 1] for the interpolant covers a radial distance (in degrees) of [0, `sky-gradient-radius`] centered at the position specified by `sky-gradient-center`.",
10376
+ "use-theme": true,
10316
10377
  "transition": false,
10317
10378
  "requires": [
10318
10379
  {
@@ -10339,6 +10400,7 @@
10339
10400
  "type": "color",
10340
10401
  "default": "white",
10341
10402
  "doc": "A color applied to the atmosphere sun halo. The alpha channel describes how strongly the sun halo is represented in an atmosphere sky layer.",
10403
+ "use-theme": true,
10342
10404
  "transition": false,
10343
10405
  "requires": [
10344
10406
  {
@@ -10358,6 +10420,7 @@
10358
10420
  "type": "color",
10359
10421
  "default": "white",
10360
10422
  "doc": "A color used to tweak the main atmospheric scattering coefficients. Using white applies the default coefficients giving the natural blue color to the atmosphere. This color affects how heavily the corresponding wavelength is represented during scattering. The alpha channel describes the density of the atmosphere, with 1 maximum density and 0 no density.",
10423
+ "use-theme": true,
10361
10424
  "transition": false,
10362
10425
  "requires": [
10363
10426
  {
@@ -10520,6 +10583,7 @@
10520
10583
  "ios": "11.0.0"
10521
10584
  }
10522
10585
  },
10586
+ "use-theme": true,
10523
10587
  "transition": true
10524
10588
  },
10525
10589
  "model-color-mix-intensity": {
@@ -10778,5 +10842,24 @@
10778
10842
  "type": "*",
10779
10843
  "doc": "A feature property name to use as the ID, or an expression to evaluate as the ID for feature state."
10780
10844
  }
10845
+ },
10846
+ "$doc": {
10847
+ "transition": {
10848
+ "type": "transition",
10849
+ "doc": "Controls how a property transitions to a new value. Overrides the style's root `transition` for this property."
10850
+ },
10851
+ "use-theme": {
10852
+ "type": "enum",
10853
+ "doc": "Controls whether the associated color property is affected by the global color theme. When set to \"none\", the color theme is ignored for this property. When set to \"default\", the color theme is applied.",
10854
+ "values": {
10855
+ "default": {
10856
+ "doc": "The color theme is applied to this property (default behavior)."
10857
+ },
10858
+ "none": {
10859
+ "doc": "The color theme is ignored for this property."
10860
+ }
10861
+ },
10862
+ "default": "default"
10863
+ }
10781
10864
  }
10782
10865
  }
package/types.ts CHANGED
@@ -387,6 +387,9 @@ export type VectorSourceSpecification = {
387
387
  "url"?: string,
388
388
  "tiles"?: Array<string>,
389
389
  "bounds"?: [number, number, number, number],
390
+ /**
391
+ * @experimental This property is experimental and subject to change in future versions.
392
+ */
390
393
  "extra_bounds"?: Array<[number, number, number, number]>,
391
394
  "scheme"?: "xyz" | "tms",
392
395
  "minzoom"?: number,
@@ -402,6 +405,9 @@ export type RasterSourceSpecification = {
402
405
  "url"?: string,
403
406
  "tiles"?: Array<string>,
404
407
  "bounds"?: [number, number, number, number],
408
+ /**
409
+ * @experimental This property is experimental and subject to change in future versions.
410
+ */
405
411
  "extra_bounds"?: Array<[number, number, number, number]>,
406
412
  "minzoom"?: number,
407
413
  "maxzoom"?: number,
@@ -417,6 +423,9 @@ export type RasterDEMSourceSpecification = {
417
423
  "url"?: string,
418
424
  "tiles"?: Array<string>,
419
425
  "bounds"?: [number, number, number, number],
426
+ /**
427
+ * @experimental This property is experimental and subject to change in future versions.
428
+ */
420
429
  "extra_bounds"?: Array<[number, number, number, number]>,
421
430
  "minzoom"?: number,
422
431
  "maxzoom"?: number,
@@ -435,6 +444,9 @@ export type RasterArraySourceSpecification = {
435
444
  "url"?: string,
436
445
  "tiles"?: Array<string>,
437
446
  "bounds"?: [number, number, number, number],
447
+ /**
448
+ * @experimental This property is experimental and subject to change in future versions.
449
+ */
438
450
  "extra_bounds"?: Array<[number, number, number, number]>,
439
451
  "minzoom"?: number,
440
452
  "maxzoom"?: number,
@@ -596,7 +608,6 @@ export type FillLayerSpecification = {
596
608
  "fill-translate-anchor"?: PropertyValueSpecification<"map" | "viewport">,
597
609
  "fill-pattern"?: DataDrivenPropertyValueSpecification<ResolvedImageSpecification>,
598
610
  "fill-pattern-cross-fade"?: PropertyValueSpecification<number>,
599
- "fill-pattern-cross-fade-transition"?: TransitionSpecification,
600
611
  "fill-emissive-strength"?: PropertyValueSpecification<number>,
601
612
  "fill-emissive-strength-transition"?: TransitionSpecification,
602
613
  /**
@@ -683,7 +694,6 @@ export type LineLayerSpecification = {
683
694
  "line-dasharray"?: DataDrivenPropertyValueSpecification<Array<number>>,
684
695
  "line-pattern"?: DataDrivenPropertyValueSpecification<ResolvedImageSpecification>,
685
696
  "line-pattern-cross-fade"?: PropertyValueSpecification<number>,
686
- "line-pattern-cross-fade-transition"?: TransitionSpecification,
687
697
  "line-gradient"?: ExpressionSpecification,
688
698
  "line-gradient-use-theme"?: PropertyValueSpecification<string>,
689
699
  "line-trim-offset"?: [number, number],
@@ -809,7 +819,6 @@ export type SymbolLayerSpecification = {
809
819
  "icon-translate-transition"?: TransitionSpecification,
810
820
  "icon-translate-anchor"?: PropertyValueSpecification<"map" | "viewport">,
811
821
  "icon-image-cross-fade"?: PropertyValueSpecification<number>,
812
- "icon-image-cross-fade-transition"?: TransitionSpecification,
813
822
  "text-opacity"?: DataDrivenPropertyValueSpecification<number>,
814
823
  "text-opacity-transition"?: TransitionSpecification,
815
824
  "text-occlusion-opacity"?: DataDrivenPropertyValueSpecification<number>,
@@ -968,7 +977,6 @@ export type FillExtrusionLayerSpecification = {
968
977
  "fill-extrusion-translate-anchor"?: PropertyValueSpecification<"map" | "viewport">,
969
978
  "fill-extrusion-pattern"?: DataDrivenPropertyValueSpecification<ResolvedImageSpecification>,
970
979
  "fill-extrusion-pattern-cross-fade"?: PropertyValueSpecification<number>,
971
- "fill-extrusion-pattern-cross-fade-transition"?: TransitionSpecification,
972
980
  "fill-extrusion-height"?: DataDrivenPropertyValueSpecification<number>,
973
981
  "fill-extrusion-height-transition"?: TransitionSpecification,
974
982
  "fill-extrusion-base"?: DataDrivenPropertyValueSpecification<number>,
@@ -1,5 +1,4 @@
1
1
  export type UnionToIntersection<U> =
2
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
3
- (U extends any ? (k: U) => void : never) extends (k: infer I) => void ?
2
+ (U extends unknown ? (k: U) => void : never) extends (k: infer I) => void ?
4
3
  {[K in keyof I]: I[K]} :
5
4
  never;