@maptalks/vt 0.74.4 → 0.74.5
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/maptalks.vt.js +7 -7
- package/dist/maptalks.vt.mjs +7 -7
- package/package.json +1 -1
package/dist/maptalks.vt.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @maptalks/vt v0.74.
|
|
2
|
+
* @maptalks/vt v0.74.5
|
|
3
3
|
* LICENSE : undefined
|
|
4
4
|
* (c) 2016-2022 maptalks.org
|
|
5
5
|
*/
|
|
@@ -17987,7 +17987,7 @@
|
|
|
17987
17987
|
op: {
|
|
17988
17988
|
fail: "keep",
|
|
17989
17989
|
zfail: "keep",
|
|
17990
|
-
zpass: "replace"
|
|
17990
|
+
zpass: () => r ? "zero" : "replace"
|
|
17991
17991
|
}
|
|
17992
17992
|
},
|
|
17993
17993
|
depth: {
|
|
@@ -18289,7 +18289,7 @@
|
|
|
18289
18289
|
op: {
|
|
18290
18290
|
fail: "keep",
|
|
18291
18291
|
zfail: "keep",
|
|
18292
|
-
zpass: "replace"
|
|
18292
|
+
zpass: () => t ? "zero" : "replace"
|
|
18293
18293
|
}
|
|
18294
18294
|
},
|
|
18295
18295
|
depth: {
|
|
@@ -20558,7 +20558,7 @@
|
|
|
20558
20558
|
op: {
|
|
20559
20559
|
fail: "keep",
|
|
20560
20560
|
zfail: "keep",
|
|
20561
|
-
zpass: "replace"
|
|
20561
|
+
zpass: () => n ? "zero" : "replace"
|
|
20562
20562
|
}
|
|
20563
20563
|
},
|
|
20564
20564
|
depth: {
|
|
@@ -22044,7 +22044,7 @@
|
|
|
22044
22044
|
op: {
|
|
22045
22045
|
fail: "keep",
|
|
22046
22046
|
zfail: "keep",
|
|
22047
|
-
zpass: "replace"
|
|
22047
|
+
zpass: () => n ? "zero" : "replace"
|
|
22048
22048
|
}
|
|
22049
22049
|
}, r = this.getPolygonOffset(), o = this.getSymbols()[0];
|
|
22050
22050
|
this.ba = new i.HeatmapProcess(this.regl, this.sceneConfig, this.layer, o.heatmapColor, n, r);
|
|
@@ -22055,7 +22055,7 @@
|
|
|
22055
22055
|
Pd.registerAt(Ma), Na.registerPainter("lit", Xh), Na.registerPainter("icon", Xc),
|
|
22056
22056
|
Na.registerPainter("fill", _u), Na.registerPainter("line", Tu), Na.registerPainter("line-gradient", Mu),
|
|
22057
22057
|
Na.registerPainter("water", pd), Na.registerPainter("tube", Kh), i.reshader.ShaderLib.register("vt_position_vert", "#ifdef HAS_ALTITUDE\n vec3 unpackVTPosition() {\n return vec3(aPosition, aAltitude);\n }\n#else\n float position_modValue = 16384.0;\n float position_delta = 0.00001;\n vec3 unpackVTPosition() {\n float z = aPosition.z;\n vec2 pos = sign(aPosition.xy + position_delta) * mod(abs(aPosition.xy), position_modValue);\n vec2 highs = floor(abs(aPosition.xy) / position_modValue);\n float altitude = sign(z + position_delta) * (highs.x * 2.0 + highs.y) * pow(2.0, 15.0) + z;\n return vec3(pos, altitude);\n }\n#endif"),
|
|
22058
|
-
Ma.VERSION = "0.74.
|
|
22058
|
+
Ma.VERSION = "0.74.5", Na.VERSION = "0.74.5";
|
|
22059
22059
|
if (o.mat4.create(), o.transcoders) {
|
|
22060
22060
|
const t = r.Map.VERSION;
|
|
22061
22061
|
if (t.indexOf("1.0.0-beta") >= 0 || t.indexOf("1.0.0-alpha") >= 0) {
|
|
@@ -22076,5 +22076,5 @@
|
|
|
22076
22076
|
t.VectorTileLayerRenderer = fa, t.WaterPlugin = Pd, t.WireframePainter = Bh, t.WireframePlugin = Ad,
|
|
22077
22077
|
Object.defineProperty(t, "t", {
|
|
22078
22078
|
value: !0
|
|
22079
|
-
}), "undefined" != typeof console && console.log("@maptalks/vt v0.74.
|
|
22079
|
+
}), "undefined" != typeof console && console.log("@maptalks/vt v0.74.5");
|
|
22080
22080
|
}));
|
package/dist/maptalks.vt.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @maptalks/vt v0.74.
|
|
2
|
+
* @maptalks/vt v0.74.5
|
|
3
3
|
* LICENSE : undefined
|
|
4
4
|
* (c) 2016-2022 maptalks.org
|
|
5
5
|
*/
|
|
@@ -4652,7 +4652,7 @@ class Ke extends Xe {
|
|
|
4652
4652
|
op: {
|
|
4653
4653
|
fail: "keep",
|
|
4654
4654
|
zfail: "keep",
|
|
4655
|
-
zpass: "replace"
|
|
4655
|
+
zpass: () => o ? "zero" : "replace"
|
|
4656
4656
|
}
|
|
4657
4657
|
},
|
|
4658
4658
|
depth: {
|
|
@@ -4956,7 +4956,7 @@ class ti extends Xe {
|
|
|
4956
4956
|
op: {
|
|
4957
4957
|
fail: "keep",
|
|
4958
4958
|
zfail: "keep",
|
|
4959
|
-
zpass: "replace"
|
|
4959
|
+
zpass: () => t ? "zero" : "replace"
|
|
4960
4960
|
}
|
|
4961
4961
|
},
|
|
4962
4962
|
depth: {
|
|
@@ -7389,7 +7389,7 @@ class fr extends Xe {
|
|
|
7389
7389
|
op: {
|
|
7390
7390
|
fail: "keep",
|
|
7391
7391
|
zfail: "keep",
|
|
7392
|
-
zpass: "replace"
|
|
7392
|
+
zpass: () => n ? "zero" : "replace"
|
|
7393
7393
|
}
|
|
7394
7394
|
},
|
|
7395
7395
|
depth: {
|
|
@@ -8919,7 +8919,7 @@ const oo = ae("heatmap", class extends Xe {
|
|
|
8919
8919
|
op: {
|
|
8920
8920
|
fail: "keep",
|
|
8921
8921
|
zfail: "keep",
|
|
8922
|
-
zpass: "replace"
|
|
8922
|
+
zpass: () => n ? "zero" : "replace"
|
|
8923
8923
|
}
|
|
8924
8924
|
}, r = this.getPolygonOffset(), o = this.getSymbols()[0];
|
|
8925
8925
|
this.ss = new d(this.regl, this.sceneConfig, this.layer, o.heatmapColor, n, r);
|
|
@@ -8933,7 +8933,7 @@ const so = ae("water", Wr);
|
|
|
8933
8933
|
so.registerAt(vt), It.registerPainter("lit", Tr), It.registerPainter("icon", _n),
|
|
8934
8934
|
It.registerPainter("fill", Ke), It.registerPainter("line", ti), It.registerPainter("line-gradient", ei),
|
|
8935
8935
|
It.registerPainter("water", Wr), It.registerPainter("tube", Ir), i.ShaderLib.register("vt_position_vert", "#ifdef HAS_ALTITUDE\n vec3 unpackVTPosition() {\n return vec3(aPosition, aAltitude);\n }\n#else\n float position_modValue = 16384.0;\n float position_delta = 0.00001;\n vec3 unpackVTPosition() {\n float z = aPosition.z;\n vec2 pos = sign(aPosition.xy + position_delta) * mod(abs(aPosition.xy), position_modValue);\n vec2 highs = floor(abs(aPosition.xy) / position_modValue);\n float altitude = sign(z + position_delta) * (highs.x * 2.0 + highs.y) * pow(2.0, 15.0) + z;\n return vec3(pos, altitude);\n }\n#endif"),
|
|
8936
|
-
vt.VERSION = "0.74.
|
|
8936
|
+
vt.VERSION = "0.74.5", It.VERSION = "0.74.5";
|
|
8937
8937
|
|
|
8938
8938
|
if (e.mat4.create(), e.transcoders) {
|
|
8939
8939
|
const i = t.Map.VERSION;
|
|
@@ -8947,4 +8947,4 @@ if (e.mat4.create(), e.transcoders) {
|
|
|
8947
8947
|
|
|
8948
8948
|
export { Ke as FillPainter, $r as FillPlugin, no as GLTFPhongPlugin, ro as GLTFStandardPlugin, Tt as GeoJSONVectorTileLayer, oo as HeatmapPlugin, _n as IconPainter, Jr as IconPlugin, Yr as LineGradientPlugin, ti as LinePainter, Xr as LinePlugin, te as LineStringLayer, eo as LitPlugin, _t as MapboxVectorTileLayer, mr as NativeLinePainter, Kr as NativeLinePlugin, fr as NativePointPainter, Ar as PhongPainter, Qr as PhongPlugin, Qt as PointLayer, ie as PolygonLayer, lr as TextPainter, Zr as TextPlugin, io as TubePlugin, It as Vector3DLayer, vt as VectorTileLayer, lt as VectorTileLayerRenderer, so as WaterPlugin, _r as WireframePainter, to as WireframePlugin };
|
|
8949
8949
|
|
|
8950
|
-
"undefined" != typeof console && console.log("@maptalks/vt v0.74.
|
|
8950
|
+
"undefined" != typeof console && console.log("@maptalks/vt v0.74.5");
|