@mapbox/mapbox-gl-style-spec 14.6.0-beta.1 → 14.6.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/dist/index.cjs +95 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +12 -3
- package/dist/index.es.js +95 -11
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/reference/v8.json +95 -12
- package/types.ts +16 -6
package/dist/index.cjs
CHANGED
|
@@ -1446,6 +1446,25 @@
|
|
|
1446
1446
|
},
|
|
1447
1447
|
"property-type": "data-constant",
|
|
1448
1448
|
experimental: true
|
|
1449
|
+
},
|
|
1450
|
+
"clip-layer-scope": {
|
|
1451
|
+
type: "array",
|
|
1452
|
+
value: "string",
|
|
1453
|
+
"default": [
|
|
1454
|
+
],
|
|
1455
|
+
doc: "Removes content from layers with the specified scope. By default all layers are affected. For example specifying `basemap` will only remove content from the Mapbox Standard style layers which have the same scope",
|
|
1456
|
+
"sdk-support": {
|
|
1457
|
+
"basic functionality": {
|
|
1458
|
+
js: "3.6.0",
|
|
1459
|
+
android: "11.7.0",
|
|
1460
|
+
ios: "11.7.0"
|
|
1461
|
+
}
|
|
1462
|
+
},
|
|
1463
|
+
expression: {
|
|
1464
|
+
interpolated: false
|
|
1465
|
+
},
|
|
1466
|
+
"property-type": "data-constant",
|
|
1467
|
+
experimental: true
|
|
1449
1468
|
}
|
|
1450
1469
|
};
|
|
1451
1470
|
var layout_fill = {
|
|
@@ -5769,7 +5788,6 @@
|
|
|
5769
5788
|
"default": 0,
|
|
5770
5789
|
minimum: 0,
|
|
5771
5790
|
maximum: 1,
|
|
5772
|
-
experimental: true,
|
|
5773
5791
|
doc: "Opacity multiplier (multiplies line-opacity value) of the line part that is occluded by 3D objects. Value 0 hides occluded part, value 1 means the same opacity as non-occluded part. The property is not supported when `line-opacity` has data-driven styling.",
|
|
5774
5792
|
"sdk-support": {
|
|
5775
5793
|
"basic functionality": {
|
|
@@ -6311,11 +6329,11 @@
|
|
|
6311
6329
|
"property-type": "data-driven"
|
|
6312
6330
|
},
|
|
6313
6331
|
"icon-occlusion-opacity": {
|
|
6314
|
-
doc: "The opacity at which the icon will be drawn in case of being depth occluded.
|
|
6332
|
+
doc: "The opacity at which the icon will be drawn in case of being depth occluded. Absent value means full occlusion against terrain only.",
|
|
6315
6333
|
type: "number",
|
|
6316
6334
|
minimum: 0,
|
|
6317
6335
|
maximum: 1,
|
|
6318
|
-
"default":
|
|
6336
|
+
"default": 0,
|
|
6319
6337
|
transition: true,
|
|
6320
6338
|
requires: [
|
|
6321
6339
|
"icon-image"
|
|
@@ -6661,10 +6679,10 @@
|
|
|
6661
6679
|
},
|
|
6662
6680
|
"text-occlusion-opacity": {
|
|
6663
6681
|
type: "number",
|
|
6664
|
-
doc: "The opacity at which the text will be drawn in case of being depth occluded.
|
|
6682
|
+
doc: "The opacity at which the text will be drawn in case of being depth occluded. Absent value means full occlusion against terrain only.",
|
|
6665
6683
|
minimum: 0,
|
|
6666
6684
|
maximum: 1,
|
|
6667
|
-
"default":
|
|
6685
|
+
"default": 0,
|
|
6668
6686
|
transition: true,
|
|
6669
6687
|
requires: [
|
|
6670
6688
|
"text-field"
|
|
@@ -8008,9 +8026,6 @@
|
|
|
8008
8026
|
"default": true,
|
|
8009
8027
|
doc: "Enable/Disable shadow casting for this layer",
|
|
8010
8028
|
transition: false,
|
|
8011
|
-
expression: {
|
|
8012
|
-
interpolated: false
|
|
8013
|
-
},
|
|
8014
8029
|
"sdk-support": {
|
|
8015
8030
|
"basic functionality": {
|
|
8016
8031
|
js: "3.0.0",
|
|
@@ -8025,9 +8040,6 @@
|
|
|
8025
8040
|
"default": true,
|
|
8026
8041
|
doc: "Enable/Disable shadow receiving for this layer",
|
|
8027
8042
|
transition: false,
|
|
8028
|
-
expression: {
|
|
8029
|
-
interpolated: false
|
|
8030
|
-
},
|
|
8031
8043
|
"sdk-support": {
|
|
8032
8044
|
"basic functionality": {
|
|
8033
8045
|
js: "3.0.0",
|
|
@@ -9089,6 +9101,57 @@
|
|
|
9089
9101
|
]
|
|
9090
9102
|
},
|
|
9091
9103
|
"property-type": "data-constant"
|
|
9104
|
+
},
|
|
9105
|
+
"fill-extrusion-line-width": {
|
|
9106
|
+
type: "number",
|
|
9107
|
+
"default": 0,
|
|
9108
|
+
minimum: 0,
|
|
9109
|
+
transition: true,
|
|
9110
|
+
units: "meters",
|
|
9111
|
+
doc: "If a non-zero value is provided, it sets the fill-extrusion layer into wall rendering mode. The value is used to render the feature with the given width over the outlines of the geometry. Note: This property is experimental and some other fill-extrusion properties might not be supported with non-zero line width.",
|
|
9112
|
+
"sdk-support": {
|
|
9113
|
+
"basic functionality": {
|
|
9114
|
+
js: "3.7.0"
|
|
9115
|
+
},
|
|
9116
|
+
"data-driven styling": {
|
|
9117
|
+
js: "3.7.0"
|
|
9118
|
+
}
|
|
9119
|
+
},
|
|
9120
|
+
expression: {
|
|
9121
|
+
interpolated: true,
|
|
9122
|
+
parameters: [
|
|
9123
|
+
"zoom",
|
|
9124
|
+
"feature",
|
|
9125
|
+
"feature-state",
|
|
9126
|
+
"measure-light"
|
|
9127
|
+
]
|
|
9128
|
+
},
|
|
9129
|
+
"property-type": "data-driven"
|
|
9130
|
+
},
|
|
9131
|
+
"fill-extrusion-line-alignment": {
|
|
9132
|
+
type: "enum",
|
|
9133
|
+
values: {
|
|
9134
|
+
inside: {
|
|
9135
|
+
doc: "Aligns the wall inside of the outline."
|
|
9136
|
+
},
|
|
9137
|
+
outside: {
|
|
9138
|
+
doc: "Aligns the wall outside of the outline."
|
|
9139
|
+
},
|
|
9140
|
+
center: {
|
|
9141
|
+
doc: "Aligns the wall relative to the center of the outline."
|
|
9142
|
+
}
|
|
9143
|
+
},
|
|
9144
|
+
"default": "center",
|
|
9145
|
+
doc: "Specifies the alignment for offset of the walls relative to the outlines of the geometry. For open-ended line string geometries the positioning is considered based on the ordering of the points, where inside is in clockwise order and outside is counter-clockwise. This property only has an effect if a non-zero fill-extrusion-line-width is used. Center alignment is automatically used for non-closed lines.",
|
|
9146
|
+
requires: [
|
|
9147
|
+
"fill-extrusion-line-width"
|
|
9148
|
+
],
|
|
9149
|
+
"sdk-support": {
|
|
9150
|
+
"basic functionality": {
|
|
9151
|
+
js: "3.7.0"
|
|
9152
|
+
}
|
|
9153
|
+
},
|
|
9154
|
+
"property-type": "data-constant"
|
|
9092
9155
|
}
|
|
9093
9156
|
},
|
|
9094
9157
|
paint_line: paint_line,
|
|
@@ -9222,6 +9285,27 @@
|
|
|
9222
9285
|
}
|
|
9223
9286
|
},
|
|
9224
9287
|
"property-type": "data-constant"
|
|
9288
|
+
},
|
|
9289
|
+
"raster-particle-elevation": {
|
|
9290
|
+
type: "number",
|
|
9291
|
+
doc: "Specifies an uniform elevation from the ground, in meters.",
|
|
9292
|
+
"default": 0,
|
|
9293
|
+
minimum: 0,
|
|
9294
|
+
transition: true,
|
|
9295
|
+
"sdk-support": {
|
|
9296
|
+
"basic functionality": {
|
|
9297
|
+
js: "3.7.0",
|
|
9298
|
+
android: "11.7.0",
|
|
9299
|
+
ios: "11.7.0"
|
|
9300
|
+
}
|
|
9301
|
+
},
|
|
9302
|
+
expression: {
|
|
9303
|
+
interpolated: true,
|
|
9304
|
+
parameters: [
|
|
9305
|
+
"zoom"
|
|
9306
|
+
]
|
|
9307
|
+
},
|
|
9308
|
+
"property-type": "data-constant"
|
|
9225
9309
|
}
|
|
9226
9310
|
},
|
|
9227
9311
|
paint_hillshade: paint_hillshade,
|