@mapbox/mapbox-gl-style-spec 14.18.1 → 14.19.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/dist/index.cjs +60 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.es.js +60 -2
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/reference/v8.json +60 -2
- package/types.ts +8 -2
package/package.json
CHANGED
package/reference/v8.json
CHANGED
|
@@ -2838,6 +2838,38 @@
|
|
|
2838
2838
|
]
|
|
2839
2839
|
},
|
|
2840
2840
|
"property-type": "data-constant"
|
|
2841
|
+
},
|
|
2842
|
+
"line-elevation-ground-scale": {
|
|
2843
|
+
"type": "number",
|
|
2844
|
+
"default": 0,
|
|
2845
|
+
"minimum": 0,
|
|
2846
|
+
"maximum": 1,
|
|
2847
|
+
"doc": "Controls how much the elevation of lines with `line-elevation-reference` set to `sea` scales with terrain exaggeration. A value of 0 keeps the line at a fixed altitude above sea level. A value of 1 scales the elevation proportionally with terrain exaggeration.",
|
|
2848
|
+
"sdk-support": {
|
|
2849
|
+
"basic functionality": {
|
|
2850
|
+
"js": "3.19.0",
|
|
2851
|
+
"android": "11.19.0",
|
|
2852
|
+
"ios": "11.19.0"
|
|
2853
|
+
},
|
|
2854
|
+
"data-driven styling": {
|
|
2855
|
+
"js": "3.19.0",
|
|
2856
|
+
"android": "11.19.0",
|
|
2857
|
+
"ios": "11.19.0"
|
|
2858
|
+
}
|
|
2859
|
+
},
|
|
2860
|
+
"expression": {
|
|
2861
|
+
"interpolated": true,
|
|
2862
|
+
"parameters": [
|
|
2863
|
+
"zoom",
|
|
2864
|
+
"feature",
|
|
2865
|
+
"line-progress"
|
|
2866
|
+
]
|
|
2867
|
+
},
|
|
2868
|
+
"requires": [
|
|
2869
|
+
"line-z-offset"
|
|
2870
|
+
],
|
|
2871
|
+
"transition": true,
|
|
2872
|
+
"property-type": "data-driven"
|
|
2841
2873
|
}
|
|
2842
2874
|
},
|
|
2843
2875
|
"layout_symbol": {
|
|
@@ -10387,7 +10419,7 @@
|
|
|
10387
10419
|
},
|
|
10388
10420
|
"raster-elevation": {
|
|
10389
10421
|
"type": "number",
|
|
10390
|
-
"doc": "
|
|
10422
|
+
"doc": "Defines an uniform elevation from the base specified in raster-elevation-reference, in meters.",
|
|
10391
10423
|
"default": 0,
|
|
10392
10424
|
"minimum": 0,
|
|
10393
10425
|
"transition": true,
|
|
@@ -10406,6 +10438,32 @@
|
|
|
10406
10438
|
]
|
|
10407
10439
|
},
|
|
10408
10440
|
"property-type": "data-constant"
|
|
10441
|
+
},
|
|
10442
|
+
"raster-elevation-reference": {
|
|
10443
|
+
"type": "enum",
|
|
10444
|
+
"doc": "Selects the base of raster-elevation.",
|
|
10445
|
+
"values": {
|
|
10446
|
+
"sea": {
|
|
10447
|
+
"doc": "Use this mode to elevate raster layers relative to the sea level."
|
|
10448
|
+
},
|
|
10449
|
+
"ground": {
|
|
10450
|
+
"doc": "Use this mode to elevate raster layers relative to the ground's height below them."
|
|
10451
|
+
}
|
|
10452
|
+
},
|
|
10453
|
+
"default": "sea",
|
|
10454
|
+
"transition": false,
|
|
10455
|
+
"experimental": true,
|
|
10456
|
+
"sdk-support": {
|
|
10457
|
+
"basic functionality": {
|
|
10458
|
+
"js": "3.19.0",
|
|
10459
|
+
"android": "11.19.0",
|
|
10460
|
+
"ios": "11.19.0"
|
|
10461
|
+
}
|
|
10462
|
+
},
|
|
10463
|
+
"expression": {
|
|
10464
|
+
"interpolated": false
|
|
10465
|
+
},
|
|
10466
|
+
"property-type": "data-constant"
|
|
10409
10467
|
}
|
|
10410
10468
|
},
|
|
10411
10469
|
"paint_raster-particle": {
|
|
@@ -10537,7 +10595,7 @@
|
|
|
10537
10595
|
},
|
|
10538
10596
|
"raster-particle-elevation": {
|
|
10539
10597
|
"type": "number",
|
|
10540
|
-
"doc": "
|
|
10598
|
+
"doc": "Defines an uniform elevation from sea level, in meters.",
|
|
10541
10599
|
"default": 0,
|
|
10542
10600
|
"minimum": 0,
|
|
10543
10601
|
"transition": true,
|
package/types.ts
CHANGED
|
@@ -716,7 +716,9 @@ export type LineLayerSpecification = {
|
|
|
716
716
|
/**
|
|
717
717
|
* @experimental This property is experimental and subject to change in future versions.
|
|
718
718
|
*/
|
|
719
|
-
"line-width-unit"?: PropertyValueSpecification<"pixels" | "meters"
|
|
719
|
+
"line-width-unit"?: PropertyValueSpecification<"pixels" | "meters">,
|
|
720
|
+
"line-elevation-ground-scale"?: DataDrivenPropertyValueSpecification<number>,
|
|
721
|
+
"line-elevation-ground-scale-transition"?: TransitionSpecification
|
|
720
722
|
},
|
|
721
723
|
"paint"?: {
|
|
722
724
|
"line-opacity"?: DataDrivenPropertyValueSpecification<number>,
|
|
@@ -1246,7 +1248,11 @@ export type RasterLayerSpecification = {
|
|
|
1246
1248
|
* @experimental This property is experimental and subject to change in future versions.
|
|
1247
1249
|
*/
|
|
1248
1250
|
"raster-elevation"?: PropertyValueSpecification<number>,
|
|
1249
|
-
"raster-elevation-transition"?: TransitionSpecification
|
|
1251
|
+
"raster-elevation-transition"?: TransitionSpecification,
|
|
1252
|
+
/**
|
|
1253
|
+
* @experimental This property is experimental and subject to change in future versions.
|
|
1254
|
+
*/
|
|
1255
|
+
"raster-elevation-reference"?: "sea" | "ground" | ExpressionSpecification
|
|
1250
1256
|
},
|
|
1251
1257
|
/**
|
|
1252
1258
|
* @experimental This property is experimental and subject to change in future versions.
|