@mapbox/mapbox-gl-style-spec 14.12.0-beta.1 → 14.13.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/composite.ts +2 -0
- package/deref.ts +5 -5
- package/diff.ts +21 -21
- package/dist/index.cjs +455 -241
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +64 -30
- package/dist/index.es.js +455 -241
- package/dist/index.es.js.map +1 -1
- package/error/validation_error.ts +1 -3
- package/expression/definitions/assertion.ts +2 -1
- package/expression/definitions/at.ts +1 -1
- package/expression/definitions/at_interpolated.ts +1 -1
- package/expression/definitions/case.ts +3 -1
- package/expression/definitions/coalesce.ts +1 -0
- package/expression/definitions/coercion.ts +3 -1
- package/expression/definitions/collator.ts +2 -1
- package/expression/definitions/comparison.ts +15 -1
- package/expression/definitions/config.ts +33 -10
- package/expression/definitions/distance.ts +6 -4
- package/expression/definitions/format.ts +3 -2
- package/expression/definitions/index.ts +29 -3
- package/expression/definitions/index_of.ts +1 -0
- package/expression/definitions/interpolate.ts +5 -1
- package/expression/definitions/let.ts +1 -0
- package/expression/definitions/literal.ts +3 -3
- package/expression/definitions/match.ts +5 -3
- package/expression/definitions/number_format.ts +3 -4
- package/expression/definitions/slice.ts +1 -0
- package/expression/definitions/step.ts +1 -0
- package/expression/definitions/var.ts +1 -0
- package/expression/definitions/within.ts +6 -2
- package/expression/expression.ts +3 -0
- package/expression/index.ts +18 -3
- package/expression/is_constant.ts +4 -0
- package/expression/parsing_context.ts +1 -1
- package/expression/types/formatted.ts +1 -1
- package/expression/types/image_variant.ts +2 -2
- package/expression/types.ts +9 -0
- package/expression/values.ts +1 -3
- package/feature_filter/convert.ts +13 -6
- package/feature_filter/index.ts +16 -0
- package/format.ts +1 -0
- package/function/convert.ts +5 -1
- package/function/index.ts +28 -0
- package/group_by_layout.ts +17 -8
- package/migrate/expressions.ts +2 -2
- package/migrate/v8.ts +9 -0
- package/migrate/v9.ts +1 -0
- package/migrate.ts +1 -0
- package/package.json +1 -1
- package/read_style.ts +1 -0
- package/reference/latest.ts +1 -0
- package/reference/v8.json +209 -21
- package/types.ts +21 -2
- package/union-to-intersection.ts +1 -1
- package/util/color.ts +85 -69
- package/util/extend.ts +1 -0
- package/util/geometry_util.ts +7 -8
- package/util/interpolate.ts +0 -4
- package/validate/validate.ts +6 -0
- package/validate/validate_array.ts +2 -0
- package/validate/validate_enum.ts +1 -0
- package/validate/validate_expression.ts +4 -0
- package/validate/validate_filter.ts +4 -2
- package/validate/validate_fog.ts +3 -0
- package/validate/validate_function.ts +7 -2
- package/validate/validate_iconset.ts +1 -0
- package/validate/validate_layer.ts +1 -0
- package/validate/validate_light.ts +3 -0
- package/validate/validate_lights.ts +27 -21
- package/validate/validate_model.ts +4 -0
- package/validate/validate_object.ts +2 -2
- package/validate/validate_projection.ts +1 -0
- package/validate/validate_property.ts +4 -0
- package/validate/validate_rain.ts +3 -0
- package/validate/validate_snow.ts +3 -0
- package/validate/validate_source.ts +8 -6
- package/validate/validate_terrain.ts +4 -0
- package/validate_mapbox_api_supported.ts +30 -19
- package/validate_style.ts +1 -0
- package/visit.ts +3 -1
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": {
|
|
@@ -834,6 +837,17 @@
|
|
|
834
837
|
],
|
|
835
838
|
"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]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL."
|
|
836
839
|
},
|
|
840
|
+
"extra_bounds": {
|
|
841
|
+
"type": "array",
|
|
842
|
+
"value": {
|
|
843
|
+
"type": "array",
|
|
844
|
+
"value": "number",
|
|
845
|
+
"length": 4,
|
|
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]`."
|
|
847
|
+
},
|
|
848
|
+
"experimental": true,
|
|
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."
|
|
850
|
+
},
|
|
837
851
|
"scheme": {
|
|
838
852
|
"type": "enum",
|
|
839
853
|
"values": {
|
|
@@ -913,6 +927,17 @@
|
|
|
913
927
|
],
|
|
914
928
|
"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]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL."
|
|
915
929
|
},
|
|
930
|
+
"extra_bounds": {
|
|
931
|
+
"type": "array",
|
|
932
|
+
"value": {
|
|
933
|
+
"type": "array",
|
|
934
|
+
"value": "number",
|
|
935
|
+
"length": 4,
|
|
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]`."
|
|
937
|
+
},
|
|
938
|
+
"experimental": true,
|
|
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."
|
|
940
|
+
},
|
|
916
941
|
"minzoom": {
|
|
917
942
|
"type": "number",
|
|
918
943
|
"default": 0,
|
|
@@ -994,6 +1019,17 @@
|
|
|
994
1019
|
],
|
|
995
1020
|
"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]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL."
|
|
996
1021
|
},
|
|
1022
|
+
"extra_bounds": {
|
|
1023
|
+
"type": "array",
|
|
1024
|
+
"value": {
|
|
1025
|
+
"type": "array",
|
|
1026
|
+
"value": "number",
|
|
1027
|
+
"length": 4,
|
|
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]`."
|
|
1029
|
+
},
|
|
1030
|
+
"experimental": true,
|
|
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."
|
|
1032
|
+
},
|
|
997
1033
|
"minzoom": {
|
|
998
1034
|
"type": "number",
|
|
999
1035
|
"default": 0,
|
|
@@ -1076,6 +1112,17 @@
|
|
|
1076
1112
|
],
|
|
1077
1113
|
"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]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL."
|
|
1078
1114
|
},
|
|
1115
|
+
"extra_bounds": {
|
|
1116
|
+
"type": "array",
|
|
1117
|
+
"value": {
|
|
1118
|
+
"type": "array",
|
|
1119
|
+
"value": "number",
|
|
1120
|
+
"length": 4,
|
|
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]`."
|
|
1122
|
+
},
|
|
1123
|
+
"experimental": true,
|
|
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."
|
|
1125
|
+
},
|
|
1079
1126
|
"minzoom": {
|
|
1080
1127
|
"type": "number",
|
|
1081
1128
|
"default": 0,
|
|
@@ -1782,11 +1829,13 @@
|
|
|
1782
1829
|
"sdk-support": {
|
|
1783
1830
|
"basic functionality": {
|
|
1784
1831
|
"android": "11.11.0",
|
|
1785
|
-
"ios": "11.11.0"
|
|
1832
|
+
"ios": "11.11.0",
|
|
1833
|
+
"js": "3.14.0"
|
|
1786
1834
|
},
|
|
1787
1835
|
"data-driven styling": {
|
|
1788
1836
|
"android": "11.11.0",
|
|
1789
|
-
"ios": "11.11.0"
|
|
1837
|
+
"ios": "11.11.0",
|
|
1838
|
+
"js": "3.14.0"
|
|
1790
1839
|
}
|
|
1791
1840
|
},
|
|
1792
1841
|
"expression": {
|
|
@@ -1841,7 +1890,8 @@
|
|
|
1841
1890
|
"sdk-support": {
|
|
1842
1891
|
"basic functionality": {
|
|
1843
1892
|
"android": "11.11.0",
|
|
1844
|
-
"ios": "11.11.0"
|
|
1893
|
+
"ios": "11.11.0",
|
|
1894
|
+
"js": "3.14.0"
|
|
1845
1895
|
}
|
|
1846
1896
|
},
|
|
1847
1897
|
"expression": {
|
|
@@ -2002,13 +2052,13 @@
|
|
|
2002
2052
|
"parapet": {
|
|
2003
2053
|
"doc": "Use parapet roof for the procedurally generated buildings."
|
|
2004
2054
|
},
|
|
2005
|
-
"mansard": {
|
|
2055
|
+
"mansard": {
|
|
2006
2056
|
"doc": "Use mansard roof for the procedurally generated buildings."
|
|
2007
2057
|
},
|
|
2008
|
-
"skillion": {
|
|
2058
|
+
"skillion": {
|
|
2009
2059
|
"doc": "Use skillion roof for the procedurally generated buildings."
|
|
2010
2060
|
},
|
|
2011
|
-
"pyramidal": {
|
|
2061
|
+
"pyramidal": {
|
|
2012
2062
|
"doc": "Use pyramidal roof for the procedurally generated buildings."
|
|
2013
2063
|
}
|
|
2014
2064
|
},
|
|
@@ -4718,6 +4768,18 @@
|
|
|
4718
4768
|
}
|
|
4719
4769
|
}
|
|
4720
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
|
+
},
|
|
4721
4783
|
"id": {
|
|
4722
4784
|
"doc": "Returns the feature's id, if it has one.",
|
|
4723
4785
|
"group": "Feature data",
|
|
@@ -5346,6 +5408,7 @@
|
|
|
5346
5408
|
],
|
|
5347
5409
|
"relaxZoomRestriction": true
|
|
5348
5410
|
},
|
|
5411
|
+
"use-theme": true,
|
|
5349
5412
|
"transition": true,
|
|
5350
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.",
|
|
5351
5414
|
"sdk-support": {
|
|
@@ -5368,6 +5431,7 @@
|
|
|
5368
5431
|
],
|
|
5369
5432
|
"relaxZoomRestriction": true
|
|
5370
5433
|
},
|
|
5434
|
+
"use-theme": true,
|
|
5371
5435
|
"transition": true,
|
|
5372
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.",
|
|
5373
5437
|
"sdk-support": {
|
|
@@ -5381,7 +5445,6 @@
|
|
|
5381
5445
|
"space-color": {
|
|
5382
5446
|
"type": "color",
|
|
5383
5447
|
"property-type": "data-constant",
|
|
5384
|
-
|
|
5385
5448
|
"default":
|
|
5386
5449
|
[
|
|
5387
5450
|
"interpolate",
|
|
@@ -5404,6 +5467,7 @@
|
|
|
5404
5467
|
],
|
|
5405
5468
|
"relaxZoomRestriction": true
|
|
5406
5469
|
},
|
|
5470
|
+
"use-theme": true,
|
|
5407
5471
|
"transition": true,
|
|
5408
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.",
|
|
5409
5473
|
"sdk-support": {
|
|
@@ -5586,6 +5650,7 @@
|
|
|
5586
5650
|
],
|
|
5587
5651
|
"relaxZoomRestriction": true
|
|
5588
5652
|
},
|
|
5653
|
+
"use-theme": true,
|
|
5589
5654
|
"transition": true,
|
|
5590
5655
|
"doc": "Snow particles color.",
|
|
5591
5656
|
"sdk-support": {
|
|
@@ -5667,6 +5732,7 @@
|
|
|
5667
5732
|
],
|
|
5668
5733
|
"relaxZoomRestriction": true
|
|
5669
5734
|
},
|
|
5735
|
+
"use-theme": true,
|
|
5670
5736
|
"transition": true,
|
|
5671
5737
|
"doc": "Snow vignette screen-space corners tint color.",
|
|
5672
5738
|
"sdk-support": {
|
|
@@ -5842,6 +5908,7 @@
|
|
|
5842
5908
|
],
|
|
5843
5909
|
"relaxZoomRestriction": true
|
|
5844
5910
|
},
|
|
5911
|
+
"use-theme": true,
|
|
5845
5912
|
"transition": true,
|
|
5846
5913
|
"doc": "Individual rain particle dorplets color.",
|
|
5847
5914
|
"sdk-support": {
|
|
@@ -5939,6 +6006,7 @@
|
|
|
5939
6006
|
],
|
|
5940
6007
|
"relaxZoomRestriction": true
|
|
5941
6008
|
},
|
|
6009
|
+
"use-theme": true,
|
|
5942
6010
|
"transition": true,
|
|
5943
6011
|
"doc": "Rain vignette screen-space corners tint color.",
|
|
5944
6012
|
"sdk-support": {
|
|
@@ -6202,6 +6270,7 @@
|
|
|
6202
6270
|
"zoom"
|
|
6203
6271
|
]
|
|
6204
6272
|
},
|
|
6273
|
+
"use-theme": true,
|
|
6205
6274
|
"transition": true,
|
|
6206
6275
|
"doc": "Color tint for lighting extruded geometries.",
|
|
6207
6276
|
"sdk-support": {
|
|
@@ -6438,6 +6507,7 @@
|
|
|
6438
6507
|
"type": "color",
|
|
6439
6508
|
"default": "#000000",
|
|
6440
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,
|
|
6441
6511
|
"transition": true,
|
|
6442
6512
|
"requires": [
|
|
6443
6513
|
{
|
|
@@ -6470,6 +6540,7 @@
|
|
|
6470
6540
|
"fill-outline-color": {
|
|
6471
6541
|
"type": "color",
|
|
6472
6542
|
"doc": "The outline color of the fill. Matches the value of `fill-color` if unspecified.",
|
|
6543
|
+
"use-theme": true,
|
|
6473
6544
|
"transition": true,
|
|
6474
6545
|
"requires": [
|
|
6475
6546
|
{
|
|
@@ -6583,6 +6654,31 @@
|
|
|
6583
6654
|
},
|
|
6584
6655
|
"property-type": "data-driven"
|
|
6585
6656
|
},
|
|
6657
|
+
"fill-pattern-cross-fade": {
|
|
6658
|
+
"type": "number",
|
|
6659
|
+
"property-type": "data-constant",
|
|
6660
|
+
"default": 0.0,
|
|
6661
|
+
"minimum": 0,
|
|
6662
|
+
"maximum": 1,
|
|
6663
|
+
"expression": {
|
|
6664
|
+
"interpolated": true,
|
|
6665
|
+
"parameters": [
|
|
6666
|
+
"zoom",
|
|
6667
|
+
"measure-light"
|
|
6668
|
+
]
|
|
6669
|
+
},
|
|
6670
|
+
"requires": [
|
|
6671
|
+
"line-pattern"
|
|
6672
|
+
],
|
|
6673
|
+
"sdk-support": {
|
|
6674
|
+
"basic functionality": {
|
|
6675
|
+
"js": "3.12.0",
|
|
6676
|
+
"android": "11.14.0",
|
|
6677
|
+
"ios": "11.14.0"
|
|
6678
|
+
}
|
|
6679
|
+
},
|
|
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)."
|
|
6681
|
+
},
|
|
6586
6682
|
"fill-emissive-strength": {
|
|
6587
6683
|
"type": "number",
|
|
6588
6684
|
"default": 0,
|
|
@@ -6639,15 +6735,18 @@
|
|
|
6639
6735
|
"doc": "The color of bridge guard rail.",
|
|
6640
6736
|
"experimental": true,
|
|
6641
6737
|
"private": true,
|
|
6738
|
+
"use-theme": true,
|
|
6642
6739
|
"transition": true,
|
|
6643
6740
|
"sdk-support": {
|
|
6644
6741
|
"basic functionality": {
|
|
6645
6742
|
"android": "11.11.0",
|
|
6646
|
-
"ios": "11.11.0"
|
|
6743
|
+
"ios": "11.11.0",
|
|
6744
|
+
"js": "3.14.0"
|
|
6647
6745
|
},
|
|
6648
6746
|
"data-driven styling": {
|
|
6649
6747
|
"android": "11.11.0",
|
|
6650
|
-
"ios": "11.11.0"
|
|
6748
|
+
"ios": "11.11.0",
|
|
6749
|
+
"js": "3.14.0"
|
|
6651
6750
|
}
|
|
6652
6751
|
},
|
|
6653
6752
|
"expression": {
|
|
@@ -6664,17 +6763,20 @@
|
|
|
6664
6763
|
"type": "color",
|
|
6665
6764
|
"default": "rgba(241, 236, 225, 255)",
|
|
6666
6765
|
"doc": "The color of tunnel structures (tunnel entrance and tunnel walls).",
|
|
6766
|
+
"use-theme": true,
|
|
6667
6767
|
"transition": true,
|
|
6668
6768
|
"experimental": true,
|
|
6669
6769
|
"private": true,
|
|
6670
6770
|
"sdk-support": {
|
|
6671
6771
|
"basic functionality": {
|
|
6672
6772
|
"android": "11.11.0",
|
|
6673
|
-
"ios": "11.11.0"
|
|
6773
|
+
"ios": "11.11.0",
|
|
6774
|
+
"js": "3.14.0"
|
|
6674
6775
|
},
|
|
6675
6776
|
"data-driven styling": {
|
|
6676
6777
|
"android": "11.11.0",
|
|
6677
|
-
"ios": "11.11.0"
|
|
6778
|
+
"ios": "11.11.0",
|
|
6779
|
+
"js": "3.14.0"
|
|
6678
6780
|
}
|
|
6679
6781
|
},
|
|
6680
6782
|
"expression": {
|
|
@@ -6715,6 +6817,7 @@
|
|
|
6715
6817
|
"type": "color",
|
|
6716
6818
|
"default": "#000000",
|
|
6717
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,
|
|
6718
6821
|
"transition": true,
|
|
6719
6822
|
"requires": [
|
|
6720
6823
|
{
|
|
@@ -6825,6 +6928,31 @@
|
|
|
6825
6928
|
},
|
|
6826
6929
|
"property-type": "data-driven"
|
|
6827
6930
|
},
|
|
6931
|
+
"fill-extrusion-pattern-cross-fade": {
|
|
6932
|
+
"type": "number",
|
|
6933
|
+
"property-type": "data-constant",
|
|
6934
|
+
"default": 0.0,
|
|
6935
|
+
"minimum": 0,
|
|
6936
|
+
"maximum": 1,
|
|
6937
|
+
"expression": {
|
|
6938
|
+
"interpolated": true,
|
|
6939
|
+
"parameters": [
|
|
6940
|
+
"zoom",
|
|
6941
|
+
"measure-light"
|
|
6942
|
+
]
|
|
6943
|
+
},
|
|
6944
|
+
"requires": [
|
|
6945
|
+
"line-pattern"
|
|
6946
|
+
],
|
|
6947
|
+
"sdk-support": {
|
|
6948
|
+
"basic functionality": {
|
|
6949
|
+
"js": "3.12.0",
|
|
6950
|
+
"android": "11.14.0",
|
|
6951
|
+
"ios": "11.14.0"
|
|
6952
|
+
}
|
|
6953
|
+
},
|
|
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)."
|
|
6955
|
+
},
|
|
6828
6956
|
"fill-extrusion-height": {
|
|
6829
6957
|
"type": "number",
|
|
6830
6958
|
"default": 0,
|
|
@@ -7088,6 +7216,7 @@
|
|
|
7088
7216
|
"requires": [
|
|
7089
7217
|
"lights"
|
|
7090
7218
|
],
|
|
7219
|
+
"use-theme": true,
|
|
7091
7220
|
"transition": true,
|
|
7092
7221
|
"expression": {
|
|
7093
7222
|
"interpolated": true,
|
|
@@ -7508,6 +7637,8 @@
|
|
|
7508
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`.",
|
|
7509
7638
|
"experimental": true,
|
|
7510
7639
|
"private": true,
|
|
7640
|
+
"use-theme": true,
|
|
7641
|
+
"transition": false,
|
|
7511
7642
|
"sdk-support": {
|
|
7512
7643
|
"basic functionality": {
|
|
7513
7644
|
},
|
|
@@ -7582,6 +7713,7 @@
|
|
|
7582
7713
|
"type": "color",
|
|
7583
7714
|
"doc": "The color with which the line will be drawn.",
|
|
7584
7715
|
"default": "#000000",
|
|
7716
|
+
"use-theme": true,
|
|
7585
7717
|
"transition": true,
|
|
7586
7718
|
"requires": [
|
|
7587
7719
|
{
|
|
@@ -7843,6 +7975,31 @@
|
|
|
7843
7975
|
},
|
|
7844
7976
|
"property-type": "data-driven"
|
|
7845
7977
|
},
|
|
7978
|
+
"line-pattern-cross-fade": {
|
|
7979
|
+
"type": "number",
|
|
7980
|
+
"property-type": "data-constant",
|
|
7981
|
+
"default": 0.0,
|
|
7982
|
+
"minimum": 0,
|
|
7983
|
+
"maximum": 1,
|
|
7984
|
+
"expression": {
|
|
7985
|
+
"interpolated": true,
|
|
7986
|
+
"parameters": [
|
|
7987
|
+
"zoom",
|
|
7988
|
+
"measure-light"
|
|
7989
|
+
]
|
|
7990
|
+
},
|
|
7991
|
+
"requires": [
|
|
7992
|
+
"line-pattern"
|
|
7993
|
+
],
|
|
7994
|
+
"sdk-support": {
|
|
7995
|
+
"basic functionality": {
|
|
7996
|
+
"js": "3.12.0",
|
|
7997
|
+
"android": "11.14.0",
|
|
7998
|
+
"ios": "11.14.0"
|
|
7999
|
+
}
|
|
8000
|
+
},
|
|
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)."
|
|
8002
|
+
},
|
|
7846
8003
|
"line-gradient": {
|
|
7847
8004
|
"type": "color",
|
|
7848
8005
|
"doc": "A gradient used to color a line feature at various distances along its length. Defined using a `step` or `interpolate` expression which outputs a color for each corresponding `line-progress` input value. `line-progress` is a percentage of the line feature's total length as measured on the webmercator projected coordinate plane (a `number` between `0` and `1`). Can only be used with GeoJSON sources that specify `\"lineMetrics\": true`.",
|
|
@@ -7863,6 +8020,7 @@
|
|
|
7863
8020
|
1,
|
|
7864
8021
|
"red"
|
|
7865
8022
|
],
|
|
8023
|
+
"use-theme": true,
|
|
7866
8024
|
"transition": false,
|
|
7867
8025
|
"requires": [
|
|
7868
8026
|
{
|
|
@@ -7957,6 +8115,7 @@
|
|
|
7957
8115
|
"doc": "The color to be used for rendering the trimmed line section that is defined by the `line-trim-offset` property.",
|
|
7958
8116
|
"experimental": true,
|
|
7959
8117
|
"default": "transparent",
|
|
8118
|
+
"use-theme": true,
|
|
7960
8119
|
"transition": true,
|
|
7961
8120
|
"requires": [
|
|
7962
8121
|
"line-trim-offset",
|
|
@@ -8043,6 +8202,7 @@
|
|
|
8043
8202
|
"private": true,
|
|
8044
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.",
|
|
8045
8204
|
"default": "rgba(0, 0, 0, 0)",
|
|
8205
|
+
"use-theme": true,
|
|
8046
8206
|
"transition": true,
|
|
8047
8207
|
"sdk-support": {
|
|
8048
8208
|
"basic functionality": {
|
|
@@ -8124,6 +8284,7 @@
|
|
|
8124
8284
|
"type": "color",
|
|
8125
8285
|
"default": "#000000",
|
|
8126
8286
|
"doc": "The fill color of the circle.",
|
|
8287
|
+
"use-theme": true,
|
|
8127
8288
|
"transition": true,
|
|
8128
8289
|
"sdk-support": {
|
|
8129
8290
|
"basic functionality": {
|
|
@@ -8350,6 +8511,7 @@
|
|
|
8350
8511
|
"type": "color",
|
|
8351
8512
|
"default": "#000000",
|
|
8352
8513
|
"doc": "The stroke color of the circle.",
|
|
8514
|
+
"use-theme": true,
|
|
8353
8515
|
"transition": true,
|
|
8354
8516
|
"sdk-support": {
|
|
8355
8517
|
"basic functionality": {
|
|
@@ -8536,6 +8698,7 @@
|
|
|
8536
8698
|
"red"
|
|
8537
8699
|
],
|
|
8538
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,
|
|
8539
8702
|
"transition": false,
|
|
8540
8703
|
"sdk-support": {
|
|
8541
8704
|
"basic functionality": {
|
|
@@ -8710,6 +8873,7 @@
|
|
|
8710
8873
|
"icon-color": {
|
|
8711
8874
|
"type": "color",
|
|
8712
8875
|
"default": "#000000",
|
|
8876
|
+
"use-theme": true,
|
|
8713
8877
|
"transition": true,
|
|
8714
8878
|
"doc": "The color of the icon. This can only be used with [SDF icons](/help/troubleshooting/using-recolorable-images-in-mapbox-maps/).",
|
|
8715
8879
|
"requires": [
|
|
@@ -8741,6 +8905,7 @@
|
|
|
8741
8905
|
"icon-halo-color": {
|
|
8742
8906
|
"type": "color",
|
|
8743
8907
|
"default": "rgba(0, 0, 0, 0)",
|
|
8908
|
+
"use-theme": true,
|
|
8744
8909
|
"transition": true,
|
|
8745
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/).",
|
|
8746
8911
|
"requires": [
|
|
@@ -8897,7 +9062,7 @@
|
|
|
8897
9062
|
},
|
|
8898
9063
|
"icon-image-cross-fade": {
|
|
8899
9064
|
"type": "number",
|
|
8900
|
-
"property-type": "data-
|
|
9065
|
+
"property-type": "data-constant",
|
|
8901
9066
|
"default": 0.0,
|
|
8902
9067
|
"minimum": 0,
|
|
8903
9068
|
"maximum": 1,
|
|
@@ -8905,8 +9070,6 @@
|
|
|
8905
9070
|
"interpolated": true,
|
|
8906
9071
|
"parameters": [
|
|
8907
9072
|
"zoom",
|
|
8908
|
-
"feature",
|
|
8909
|
-
"feature-state",
|
|
8910
9073
|
"measure-light"
|
|
8911
9074
|
]
|
|
8912
9075
|
},
|
|
@@ -8918,15 +9081,9 @@
|
|
|
8918
9081
|
"js": "3.0.0",
|
|
8919
9082
|
"android": "11.0.0",
|
|
8920
9083
|
"ios": "11.0.0"
|
|
8921
|
-
},
|
|
8922
|
-
"data-driven styling": {
|
|
8923
|
-
"js": "3.0.0",
|
|
8924
|
-
"android": "11.0.0",
|
|
8925
|
-
"ios": "11.0.0"
|
|
8926
9084
|
}
|
|
8927
9085
|
},
|
|
8928
|
-
"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."
|
|
8929
|
-
"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)."
|
|
8930
9087
|
},
|
|
8931
9088
|
"text-opacity": {
|
|
8932
9089
|
"type": "number",
|
|
@@ -8998,6 +9155,7 @@
|
|
|
8998
9155
|
"type": "color",
|
|
8999
9156
|
"doc": "The color with which the text will be drawn.",
|
|
9000
9157
|
"default": "#000000",
|
|
9158
|
+
"use-theme": true,
|
|
9001
9159
|
"transition": true,
|
|
9002
9160
|
"overridable": true,
|
|
9003
9161
|
"requires": [
|
|
@@ -9029,6 +9187,7 @@
|
|
|
9029
9187
|
"text-halo-color": {
|
|
9030
9188
|
"type": "color",
|
|
9031
9189
|
"default": "rgba(0, 0, 0, 0)",
|
|
9190
|
+
"use-theme": true,
|
|
9032
9191
|
"transition": true,
|
|
9033
9192
|
"doc": "The color of the text's halo, which helps it stand out from backgrounds.",
|
|
9034
9193
|
"requires": [
|
|
@@ -9314,6 +9473,7 @@
|
|
|
9314
9473
|
"raster-color": {
|
|
9315
9474
|
"type": "color",
|
|
9316
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,
|
|
9317
9477
|
"transition": false,
|
|
9318
9478
|
"sdk-support": {
|
|
9319
9479
|
"basic functionality": {
|
|
@@ -9658,6 +9818,7 @@
|
|
|
9658
9818
|
"raster-particle-color": {
|
|
9659
9819
|
"type": "color",
|
|
9660
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,
|
|
9661
9822
|
"transition": false,
|
|
9662
9823
|
"sdk-support": {
|
|
9663
9824
|
"basic functionality": {
|
|
@@ -9848,6 +10009,7 @@
|
|
|
9848
10009
|
"type": "color",
|
|
9849
10010
|
"default": "#000000",
|
|
9850
10011
|
"doc": "The shading color of areas that face away from the light source.",
|
|
10012
|
+
"use-theme": true,
|
|
9851
10013
|
"transition": true,
|
|
9852
10014
|
"sdk-support": {
|
|
9853
10015
|
"basic functionality": {
|
|
@@ -9869,6 +10031,7 @@
|
|
|
9869
10031
|
"type": "color",
|
|
9870
10032
|
"default": "#FFFFFF",
|
|
9871
10033
|
"doc": "The shading color of areas that faces towards the light source.",
|
|
10034
|
+
"use-theme": true,
|
|
9872
10035
|
"transition": true,
|
|
9873
10036
|
"sdk-support": {
|
|
9874
10037
|
"basic functionality": {
|
|
@@ -9890,6 +10053,7 @@
|
|
|
9890
10053
|
"type": "color",
|
|
9891
10054
|
"default": "#000000",
|
|
9892
10055
|
"doc": "The shading color used to accentuate rugged terrain like sharp cliffs and gorges.",
|
|
10056
|
+
"use-theme": true,
|
|
9893
10057
|
"transition": true,
|
|
9894
10058
|
"sdk-support": {
|
|
9895
10059
|
"basic functionality": {
|
|
@@ -9965,6 +10129,7 @@
|
|
|
9965
10129
|
"type": "color",
|
|
9966
10130
|
"default": "#000000",
|
|
9967
10131
|
"doc": "The color with which the background will be drawn.",
|
|
10132
|
+
"use-theme": true,
|
|
9968
10133
|
"transition": true,
|
|
9969
10134
|
"requires": [
|
|
9970
10135
|
{
|
|
@@ -10208,6 +10373,7 @@
|
|
|
10208
10373
|
"white"
|
|
10209
10374
|
],
|
|
10210
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,
|
|
10211
10377
|
"transition": false,
|
|
10212
10378
|
"requires": [
|
|
10213
10379
|
{
|
|
@@ -10234,6 +10400,7 @@
|
|
|
10234
10400
|
"type": "color",
|
|
10235
10401
|
"default": "white",
|
|
10236
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,
|
|
10237
10404
|
"transition": false,
|
|
10238
10405
|
"requires": [
|
|
10239
10406
|
{
|
|
@@ -10253,6 +10420,7 @@
|
|
|
10253
10420
|
"type": "color",
|
|
10254
10421
|
"default": "white",
|
|
10255
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,
|
|
10256
10424
|
"transition": false,
|
|
10257
10425
|
"requires": [
|
|
10258
10426
|
{
|
|
@@ -10415,6 +10583,7 @@
|
|
|
10415
10583
|
"ios": "11.0.0"
|
|
10416
10584
|
}
|
|
10417
10585
|
},
|
|
10586
|
+
"use-theme": true,
|
|
10418
10587
|
"transition": true
|
|
10419
10588
|
},
|
|
10420
10589
|
"model-color-mix-intensity": {
|
|
@@ -10673,5 +10842,24 @@
|
|
|
10673
10842
|
"type": "*",
|
|
10674
10843
|
"doc": "A feature property name to use as the ID, or an expression to evaluate as the ID for feature state."
|
|
10675
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
|
+
}
|
|
10676
10864
|
}
|
|
10677
10865
|
}
|