@maptalks/vt 0.107.2 → 0.107.4
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.d.ts
CHANGED
package/dist/maptalks.vt.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @maptalks/vt v0.107.
|
|
2
|
+
* @maptalks/vt v0.107.4
|
|
3
3
|
* LICENSE : undefined
|
|
4
4
|
* (c) 2016-2025 maptalks.org
|
|
5
5
|
*/
|
|
@@ -18045,7 +18045,7 @@ class Do extends gn {
|
|
|
18045
18045
|
const l = this._createBillboard(i, i.desc.positionSize, r);
|
|
18046
18046
|
l.generateBuffers(this.regl), i.properties.billGeometry = l;
|
|
18047
18047
|
const h = new s.Material({
|
|
18048
|
-
|
|
18048
|
+
billTexture: l.properties.billTexture
|
|
18049
18049
|
}), c = new s.Mesh(l, h, {
|
|
18050
18050
|
castShadow: !1,
|
|
18051
18051
|
picking: !0
|
|
@@ -18191,7 +18191,7 @@ class Do extends gn {
|
|
|
18191
18191
|
this.renderer = new s.Renderer(e);
|
|
18192
18192
|
const t = [], n = {
|
|
18193
18193
|
vert: wo,
|
|
18194
|
-
frag: "#define SHADER_NAME BILL_BOARD\nprecision mediump float;\nuniform sampler2D
|
|
18194
|
+
frag: "#define SHADER_NAME BILL_BOARD\nprecision mediump float;\n#include <gl2_frag>\nuniform sampler2D billTexture;\nuniform vec2 textureSize;\nvarying vec2 vTexCoord;\nvoid main() {\n glFragColor = texture2D(billTexture, vTexCoord / textureSize);\n#if defined(HAS_SHADOWING) && !defined(HAS_BLOOM)\nfloat c = shadow_computeShadow();\n glFragColor.rgb = shadow_blend(glFragColor.rgb, c);\n#endif\n#if __VERSION__ == 100\ngl_FragColor = glFragColor;\n#endif\n}",
|
|
18195
18195
|
uniforms: [ {
|
|
18196
18196
|
name: "projViewModelMatrix",
|
|
18197
18197
|
type: "function",
|
|
@@ -18755,8 +18755,8 @@ class ga extends e.renderer.CanvasRenderer {
|
|
|
18755
18755
|
_addCoord(e, t, n, i, r, s) {
|
|
18756
18756
|
const o = this.getMap().getProjection().isSphere();
|
|
18757
18757
|
let a = !1;
|
|
18758
|
-
(s[0] > 180 || s[0] < -180) &&
|
|
18759
|
-
(s[1] > 90 || s[1] < -90) &&
|
|
18758
|
+
(s[0] > 180 || s[0] < -180) && o && !ha && (a = !0, ha = !0, console.warn(`Layer(${this.layer.getId()}) has invalid longitude value: ${s[0]}`)),
|
|
18759
|
+
(s[1] > 90 || s[1] < -90) && o && !ha && (a = !0, ha = !0, console.warn(`Layer(${this.layer.getId()}) has invalid latitude value: ${s[1]}`)),
|
|
18760
18760
|
a || (e[0] += t, e[1] += n, e[2] += i || 0, e[3] += r);
|
|
18761
18761
|
}
|
|
18762
18762
|
_fillCommonProps(e) {
|
|
@@ -20566,5 +20566,5 @@ if (r.transcoders) {
|
|
|
20566
20566
|
|
|
20567
20567
|
export { Do as BillBoardPainter, $o as BillBoardPlugin, Ul as ExtrudePolygonLayer, Cn as FillPainter, Lo as FillPlugin, Xl as FilterUtil, Xo as GLTFPhongPlugin, Yo as GLTFStandardPlugin, Qo as GeoJSONVectorTileLayer, Zo as HeatmapPlugin, Pr as IconPainter, zo as IconPlugin, No as LineGradientPlugin, Rn as LinePainter, Ho as LinePlugin, Ia as LineStringLayer, jo as LitPlugin, Jo as MapboxVectorTileLayer, Ms as NativeLinePainter, Uo as NativeLinePlugin, Ts as NativePointPainter, Wl as PackUtil, Vs as PhongPainter, Bo as PhongPlugin, Ma as PointLayer, Fa as PolygonLayer, Zl as SYMBOLS_NEED_REBUILD_IN_VECTOR, Yl as SYMBOLS_NEED_REBUILD_IN_VT, xs as TextPainter, Vo as TextPlugin, Wo as TubePlugin, mt as Vector3DLayer, ht as VectorTileLayer, $e as VectorTileLayerRenderer, qo as WaterPlugin, Bs as WireframePainter, Go as WireframePlugin };
|
|
20568
20568
|
|
|
20569
|
-
"undefined" != typeof console && console.log("@maptalks/vt v0.107.
|
|
20569
|
+
"undefined" != typeof console && console.log("@maptalks/vt v0.107.4");
|
|
20570
20570
|
//# sourceMappingURL=maptalks.vt.es.js.map
|