@maptalks/vt 0.107.3 → 0.107.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
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @maptalks/vt v0.107.
|
|
2
|
+
* @maptalks/vt v0.107.5
|
|
3
3
|
* LICENSE : undefined
|
|
4
4
|
* (c) 2016-2025 maptalks.org
|
|
5
5
|
*/
|
|
@@ -20039,8 +20039,8 @@
|
|
|
20039
20039
|
_addCoord(e, t, n, i, r, s) {
|
|
20040
20040
|
const o = this.getMap().getProjection().isSphere();
|
|
20041
20041
|
let a = !1;
|
|
20042
|
-
(s[0] > 180 || s[0] < -180) &&
|
|
20043
|
-
(s[1] > 90 || s[1] < -90) &&
|
|
20042
|
+
(s[0] > 180 || s[0] < -180) && o && !Ml && (a = !0, Ml = !0, console.warn(`Layer(${this.layer.getId()}) has invalid longitude value: ${s[0]}`)),
|
|
20043
|
+
(s[1] > 90 || s[1] < -90) && o && !Ml && (a = !0, Ml = !0, console.warn(`Layer(${this.layer.getId()}) has invalid latitude value: ${s[1]}`)),
|
|
20044
20044
|
a || (e[0] += t, e[1] += n, e[2] += i || 0, e[3] += r);
|
|
20045
20045
|
}
|
|
20046
20046
|
_fillCommonProps(e) {
|
|
@@ -22482,6 +22482,6 @@
|
|
|
22482
22482
|
e.PointLayer = Ul, e.PolygonLayer = Yl, e.SYMBOLS_NEED_REBUILD_IN_VECTOR = zu, e.SYMBOLS_NEED_REBUILD_IN_VT = Nu,
|
|
22483
22483
|
e.TextPainter = Do, e.TextPlugin = nl, e.TubePlugin = al, e.Vector3DLayer = an,
|
|
22484
22484
|
e.VectorTileLayer = Qt, e.VectorTileLayerRenderer = Vt, e.WaterPlugin = ul, e.WireframePainter = sa,
|
|
22485
|
-
e.WireframePlugin = sl, "undefined" != typeof console && console.log("@maptalks/vt v0.107.
|
|
22485
|
+
e.WireframePlugin = sl, "undefined" != typeof console && console.log("@maptalks/vt v0.107.5");
|
|
22486
22486
|
}));
|
|
22487
22487
|
//# sourceMappingURL=maptalks.vt.js.map
|