@mapbox/mapbox-gl-style-spec 14.5.0 → 14.5.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 +21 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +21 -27
- package/dist/index.es.js.map +1 -1
- package/expression/index.ts +1 -1
- package/package.json +3 -3
- package/reference/v8.json +10 -10
package/dist/index.cjs
CHANGED
|
@@ -1221,13 +1221,13 @@
|
|
|
1221
1221
|
},
|
|
1222
1222
|
clip: {
|
|
1223
1223
|
doc: "Layer that removes 3D content from map.",
|
|
1224
|
+
experimental: true,
|
|
1224
1225
|
"sdk-support": {
|
|
1225
1226
|
"basic functionality": {
|
|
1226
1227
|
js: "3.5.0",
|
|
1227
|
-
android: "11.
|
|
1228
|
-
ios: "11.
|
|
1229
|
-
}
|
|
1230
|
-
experimental: true
|
|
1228
|
+
android: "11.6.0",
|
|
1229
|
+
ios: "11.6.0"
|
|
1230
|
+
}
|
|
1231
1231
|
}
|
|
1232
1232
|
}
|
|
1233
1233
|
},
|
|
@@ -1437,8 +1437,8 @@
|
|
|
1437
1437
|
"sdk-support": {
|
|
1438
1438
|
"basic functionality": {
|
|
1439
1439
|
js: "3.5.0",
|
|
1440
|
-
android: "11.
|
|
1441
|
-
ios: "11.
|
|
1440
|
+
android: "11.6.0",
|
|
1441
|
+
ios: "11.6.0"
|
|
1442
1442
|
}
|
|
1443
1443
|
},
|
|
1444
1444
|
expression: {
|
|
@@ -6311,11 +6311,11 @@
|
|
|
6311
6311
|
"property-type": "data-driven"
|
|
6312
6312
|
},
|
|
6313
6313
|
"icon-occlusion-opacity": {
|
|
6314
|
-
doc: "The opacity at which the icon will be drawn in case of being depth occluded. Not supported on globe zoom levels.",
|
|
6314
|
+
doc: "The opacity at which the icon will be drawn in case of being depth occluded. Not supported on globe zoom levels. Absent value means behavior prior to this property introduction.",
|
|
6315
6315
|
type: "number",
|
|
6316
|
-
"default": 1,
|
|
6317
6316
|
minimum: 0,
|
|
6318
6317
|
maximum: 1,
|
|
6318
|
+
"default": 1,
|
|
6319
6319
|
transition: true,
|
|
6320
6320
|
requires: [
|
|
6321
6321
|
"icon-image"
|
|
@@ -6661,10 +6661,10 @@
|
|
|
6661
6661
|
},
|
|
6662
6662
|
"text-occlusion-opacity": {
|
|
6663
6663
|
type: "number",
|
|
6664
|
-
doc: "The opacity at which the text will be drawn in case of being depth occluded. Not supported on globe zoom levels.",
|
|
6665
|
-
"default": 1,
|
|
6664
|
+
doc: "The opacity at which the text will be drawn in case of being depth occluded. Not supported on globe zoom levels. Absent value means behavior prior to this property introduction.",
|
|
6666
6665
|
minimum: 0,
|
|
6667
6666
|
maximum: 1,
|
|
6667
|
+
"default": 1,
|
|
6668
6668
|
transition: true,
|
|
6669
6669
|
requires: [
|
|
6670
6670
|
"text-field"
|
|
@@ -12982,7 +12982,7 @@
|
|
|
12982
12982
|
};
|
|
12983
12983
|
|
|
12984
12984
|
class TinyQueue {
|
|
12985
|
-
constructor(data = [], compare =
|
|
12985
|
+
constructor(data = [], compare = (a, b) => a < b ? -1 : a > b ? 1 : 0) {
|
|
12986
12986
|
this.data = data;
|
|
12987
12987
|
this.length = this.data.length;
|
|
12988
12988
|
this.compare = compare;
|
|
@@ -12993,16 +12993,14 @@
|
|
|
12993
12993
|
}
|
|
12994
12994
|
push(item) {
|
|
12995
12995
|
this.data.push(item);
|
|
12996
|
-
this.length
|
|
12997
|
-
this._up(this.length - 1);
|
|
12996
|
+
this._up(this.length++);
|
|
12998
12997
|
}
|
|
12999
12998
|
pop() {
|
|
13000
12999
|
if (this.length === 0)
|
|
13001
13000
|
return undefined;
|
|
13002
13001
|
const top = this.data[0];
|
|
13003
13002
|
const bottom = this.data.pop();
|
|
13004
|
-
this.length
|
|
13005
|
-
if (this.length > 0) {
|
|
13003
|
+
if (--this.length > 0) {
|
|
13006
13004
|
this.data[0] = bottom;
|
|
13007
13005
|
this._down(0);
|
|
13008
13006
|
}
|
|
@@ -13029,24 +13027,20 @@
|
|
|
13029
13027
|
const halfLength = this.length >> 1;
|
|
13030
13028
|
const item = data[pos];
|
|
13031
13029
|
while (pos < halfLength) {
|
|
13032
|
-
let
|
|
13033
|
-
|
|
13034
|
-
const right =
|
|
13035
|
-
if (right < this.length && compare(data[right],
|
|
13036
|
-
|
|
13037
|
-
best = data[right];
|
|
13030
|
+
let bestChild = (pos << 1) + 1;
|
|
13031
|
+
// initially it is the left child
|
|
13032
|
+
const right = bestChild + 1;
|
|
13033
|
+
if (right < this.length && compare(data[right], data[bestChild]) < 0) {
|
|
13034
|
+
bestChild = right;
|
|
13038
13035
|
}
|
|
13039
|
-
if (compare(
|
|
13036
|
+
if (compare(data[bestChild], item) >= 0)
|
|
13040
13037
|
break;
|
|
13041
|
-
data[pos] =
|
|
13042
|
-
pos =
|
|
13038
|
+
data[pos] = data[bestChild];
|
|
13039
|
+
pos = bestChild;
|
|
13043
13040
|
}
|
|
13044
13041
|
data[pos] = item;
|
|
13045
13042
|
}
|
|
13046
13043
|
}
|
|
13047
|
-
function defaultCompare(a, b) {
|
|
13048
|
-
return a < b ? -1 : a > b ? 1 : 0;
|
|
13049
|
-
}
|
|
13050
13044
|
|
|
13051
13045
|
var EXTENT = 8192;
|
|
13052
13046
|
|