@mapbox/mapbox-gl-style-spec 14.19.0-beta.1 → 14.19.0-beta.2
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 +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.es.js +7 -7
- package/dist/index.es.js.map +1 -1
- package/expression/definitions/index.ts +2 -1
- package/expression/parsing_context.ts +1 -1
- package/package.json +1 -1
- package/reference/v8.json +1 -5
- package/types.ts +0 -6
package/dist/index.cjs
CHANGED
|
@@ -2631,8 +2631,7 @@
|
|
|
2631
2631
|
},
|
|
2632
2632
|
"line-z-offset": {
|
|
2633
2633
|
type: "number",
|
|
2634
|
-
|
|
2635
|
-
doc: "Vertical offset from ground, in meters. Defaults to 0. This is an experimental property with some known issues:\n * Not supported for globe projection at the moment \n * Elevated line discontinuity is possible on tile borders with terrain enabled \n * Rendering artifacts can happen near line joins and line caps depending on the line styling \n * Rendering artifacts relating to `line-opacity` and `line-blur` \n * Elevated line visibility is determined by layer order \n * Z-fighting issues can happen with intersecting elevated lines \n * Elevated lines don't cast shadows",
|
|
2634
|
+
doc: "Vertical offset from ground, in meters. Not supported for globe projection at the moment.",
|
|
2636
2635
|
"default": 0,
|
|
2637
2636
|
requires: [
|
|
2638
2637
|
"line-elevation-reference"
|
|
@@ -2677,7 +2676,6 @@
|
|
|
2677
2676
|
}
|
|
2678
2677
|
},
|
|
2679
2678
|
"default": "none",
|
|
2680
|
-
experimental: true,
|
|
2681
2679
|
transition: false,
|
|
2682
2680
|
"sdk-support": {
|
|
2683
2681
|
"basic functionality": {
|
|
@@ -3157,7 +3155,6 @@
|
|
|
3157
3155
|
10
|
|
3158
3156
|
],
|
|
3159
3157
|
experimental: true,
|
|
3160
|
-
"private": true,
|
|
3161
3158
|
expression: {
|
|
3162
3159
|
interpolated: false
|
|
3163
3160
|
},
|
|
@@ -3680,7 +3677,6 @@
|
|
|
3680
3677
|
10
|
|
3681
3678
|
],
|
|
3682
3679
|
experimental: true,
|
|
3683
|
-
"private": true,
|
|
3684
3680
|
expression: {
|
|
3685
3681
|
interpolated: false
|
|
3686
3682
|
},
|
|
@@ -17021,7 +17017,8 @@
|
|
|
17021
17017
|
'pitch',
|
|
17022
17018
|
'distance-from-center',
|
|
17023
17019
|
'measure-light',
|
|
17024
|
-
'raster-particle-speed'
|
|
17020
|
+
'raster-particle-speed',
|
|
17021
|
+
'is-active-floor'
|
|
17025
17022
|
]);
|
|
17026
17023
|
}
|
|
17027
17024
|
|
|
@@ -18649,10 +18646,13 @@
|
|
|
18649
18646
|
BooleanType,
|
|
18650
18647
|
varargs(StringType),
|
|
18651
18648
|
(ctx, args) => {
|
|
18652
|
-
const hasActiveFloors = ctx.globals.activeFloors && ctx.globals.activeFloors.size > 0;
|
|
18649
|
+
const hasActiveFloors = ctx.globals && ctx.globals.activeFloors && ctx.globals.activeFloors.size > 0;
|
|
18653
18650
|
if (!hasActiveFloors) {
|
|
18654
18651
|
return false;
|
|
18655
18652
|
}
|
|
18653
|
+
if (args.length === 0) {
|
|
18654
|
+
return true;
|
|
18655
|
+
}
|
|
18656
18656
|
const floorIds = ctx.globals.activeFloors;
|
|
18657
18657
|
return args.some(arg => {
|
|
18658
18658
|
const value = arg.evaluate(ctx);
|