@maptalks/vt 0.63.6 → 0.63.7

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @maptalks/vt v0.63.6
2
+ * @maptalks/vt v0.63.7
3
3
  * LICENSE : undefined
4
4
  * (c) 2016-2022 maptalks.org
5
5
  */
@@ -10417,7 +10417,7 @@
10417
10417
  }
10418
10418
  Os(t, e, i, r) {
10419
10419
  const s = this.getMap(), {collideBoxIndex: o} = t.meshes[0].geometry.properties;
10420
- if (!o[e]) return !1;
10420
+ if (!(o && o[e])) return !1;
10421
10421
  const a = n.mat4.multiply(da, s.projViewMatrix, t.meshes[0].localTransform);
10422
10422
  let l, h = !1;
10423
10423
  const c = t.meshes;
@@ -12278,7 +12278,7 @@
12278
12278
  const Ll = ts("water", _l);
12279
12279
  Ll.registerAt(Qi), cr.registerPainter("lit", ll), cr.registerPainter("icon", ya),
12280
12280
  cr.registerPainter("fill", Ws), cr.registerPainter("line", Xs), cr.registerPainter("line-gradient", qs),
12281
- cr.registerPainter("water", _l), Qi.VERSION = "0.63.6", cr.VERSION = "0.63.6";
12281
+ cr.registerPainter("water", _l), Qi.VERSION = "0.63.7", cr.VERSION = "0.63.7";
12282
12282
  if (s.mat4.create(), s.transcoders) {
12283
12283
  const t = r.Map.VERSION;
12284
12284
  if (t.indexOf("1.0.0-beta") >= 0 || t.indexOf("1.0.0-alpha") >= 0) {
@@ -12298,5 +12298,5 @@
12298
12298
  t.VectorTileLayerRenderer = ji, t.WaterPlugin = Ll, t.WireframePainter = sl, t.WireframePlugin = Cl,
12299
12299
  Object.defineProperty(t, "t", {
12300
12300
  value: !0
12301
- }), "undefined" != typeof console && console.log("@maptalks/vt v0.63.6");
12301
+ }), "undefined" != typeof console && console.log("@maptalks/vt v0.63.7");
12302
12302
  }));
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @maptalks/vt v0.63.6
2
+ * @maptalks/vt v0.63.7
3
3
  * LICENSE : undefined
4
4
  * (c) 2016-2022 maptalks.org
5
5
  */
@@ -6267,7 +6267,7 @@ class hi extends $e {
6267
6267
  }
6268
6268
  Tr(t, e, n, i) {
6269
6269
  const s = this.getMap(), {collideBoxIndex: o} = t.meshes[0].geometry.properties;
6270
- if (!o[e]) return !1;
6270
+ if (!(o && o[e])) return !1;
6271
6271
  const a = r.multiply(ai, s.projViewMatrix, t.meshes[0].localTransform);
6272
6272
  let l, h = !1;
6273
6273
  const c = t.meshes;
@@ -8185,7 +8185,7 @@ const Cr = Jt("water", gr);
8185
8185
 
8186
8186
  Cr.registerAt(ct), At.registerPainter("lit", nr), At.registerPainter("icon", hi),
8187
8187
  At.registerPainter("fill", Ne), At.registerPainter("line", Ve), At.registerPainter("line-gradient", je),
8188
- At.registerPainter("water", gr), ct.VERSION = "0.63.6", At.VERSION = "0.63.6";
8188
+ At.registerPainter("water", gr), ct.VERSION = "0.63.7", At.VERSION = "0.63.7";
8189
8189
 
8190
8190
  if (e.mat4.create(), e.transcoders) {
8191
8191
  const n = t.Map.VERSION;
@@ -8199,4 +8199,4 @@ if (e.mat4.create(), e.transcoders) {
8199
8199
 
8200
8200
  export { Ne as FillPainter, xr as FillPlugin, kr as GLTFPhongPlugin, Ir as GLTFStandardPlugin, vt as GeoJSONVectorTileLayer, Or as HeatmapPlugin, hi as IconPainter, wr as IconPlugin, Ar as LineGradientPlugin, Ve as LinePainter, br as LinePlugin, Ut as LineStringLayer, Tr as LitPlugin, yt as MapboxVectorTileLayer, Bi as NativeLinePainter, Sr as NativeLinePlugin, Gi as NativePointPainter, Ki as PhongPainter, Mr as PhongPlugin, jt as PointLayer, Gt as PolygonLayer, Li as TextPainter, _r as TextPlugin, At as Vector3DLayer, ct as VectorTileLayer, nt as VectorTileLayerRenderer, Cr as WaterPlugin, Qi as WireframePainter, Pr as WireframePlugin };
8201
8201
 
8202
- "undefined" != typeof console && console.log("@maptalks/vt v0.63.6");
8202
+ "undefined" != typeof console && console.log("@maptalks/vt v0.63.7");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maptalks/vt",
3
- "version": "0.63.6",
3
+ "version": "0.63.7",
4
4
  "description": "The vector-tile plugin for maptalks.js",
5
5
  "main": "dist/maptalks.vt.js",
6
6
  "browser": "dist/maptalks.vt.js",