@mapbox/mapbox-gl-style-spec 14.32.0 → 14.33.0-rc.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 +9 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +9 -4
- package/dist/index.es.js.map +1 -1
- package/expression/definitions/config.ts +7 -2
- package/package.json +1 -1
- package/reference/v8.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -7251,7 +7251,7 @@ var paint_building = {
|
|
|
7251
7251
|
"default": 1,
|
|
7252
7252
|
minimum: 0,
|
|
7253
7253
|
maximum: 1,
|
|
7254
|
-
doc: "The opacity of the entire procedural buildings layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.",
|
|
7254
|
+
doc: "The opacity of the entire procedural buildings layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available. When consecutive `fill-extrusion` and `building` layers are semi-transparent, they are rendered together: they occlude each other and are only transparent against other layers. If another layer type is placed between them, each layer is blended separately and later layers are visible through earlier ones.",
|
|
7255
7255
|
transition: true,
|
|
7256
7256
|
"private": true,
|
|
7257
7257
|
"sdk-support": {
|
|
@@ -11407,7 +11407,7 @@ var v8 = {
|
|
|
11407
11407
|
"default": 1,
|
|
11408
11408
|
minimum: 0,
|
|
11409
11409
|
maximum: 1,
|
|
11410
|
-
doc: "The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.",
|
|
11410
|
+
doc: "The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available. When consecutive `fill-extrusion` and `building` layers are semi-transparent, they are rendered together: they occlude each other and are only transparent against other layers. If another layer type is placed between them, each layer is blended separately and later layers are visible through earlier ones.",
|
|
11411
11411
|
transition: true,
|
|
11412
11412
|
"sdk-support": {
|
|
11413
11413
|
"basic functionality": {
|
|
@@ -15044,7 +15044,10 @@ var EXTENT = 8192;
|
|
|
15044
15044
|
|
|
15045
15045
|
const FQIDSeparator = "";
|
|
15046
15046
|
function makeConfigFQID(id, ownScope, contextScope) {
|
|
15047
|
-
|
|
15047
|
+
let fqid = id || "";
|
|
15048
|
+
if (ownScope) fqid = fqid ? fqid + FQIDSeparator + ownScope : ownScope;
|
|
15049
|
+
if (contextScope) fqid = fqid ? fqid + FQIDSeparator + contextScope : contextScope;
|
|
15050
|
+
return fqid;
|
|
15048
15051
|
}
|
|
15049
15052
|
function coerceValue(type, value) {
|
|
15050
15053
|
switch (type) {
|
|
@@ -15125,7 +15128,9 @@ class Config {
|
|
|
15125
15128
|
let result = defaultValue;
|
|
15126
15129
|
if (value) {
|
|
15127
15130
|
const originalScope = ctx.scope;
|
|
15128
|
-
|
|
15131
|
+
const scope = originalScope || "";
|
|
15132
|
+
const sep = scope.indexOf(FQIDSeparator);
|
|
15133
|
+
ctx.scope = sep >= 0 ? scope.slice(sep + 1) : "";
|
|
15129
15134
|
result = value.evaluate(ctx);
|
|
15130
15135
|
ctx.scope = originalScope;
|
|
15131
15136
|
}
|