@maptalks/vt 0.115.0 → 0.116.0

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.115.0
2
+ * @maptalks/vt v0.116.0
3
3
  * LICENSE : undefined
4
4
  * (c) 2016-2025 maptalks.org
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @maptalks/vt v0.115.0
2
+ * @maptalks/vt v0.116.0
3
3
  * LICENSE : undefined
4
4
  * (c) 2016-2025 maptalks.org
5
5
  */
@@ -9802,7 +9802,8 @@ class Qe extends(l(We(je))){
9802
9802
  renderTarget: {
9803
9803
  fbo: r
9804
9804
  }
9805
- }, Ze.framebuffer = r, e.clear(Ze), this._parentContext.viewport = rt(a), this._drawTerrainTile(i.tile);
9805
+ }, Ze.framebuffer = r, e.clear(Ze), this._parentContext.maskViewport = rt(i.terrainMaskFBO.width / 2),
9806
+ this._parentContext.viewport = rt(a), this._drawTerrainTile(i.tile);
9806
9807
  }
9807
9808
  this._endTerrainFrame(n), this._parentContext = s, this.isRenderingTerrainSkin = !1;
9808
9809
  }
@@ -12924,6 +12925,7 @@ class Bn extends _n {
12924
12925
  projViewMatrix: n ? Hn : e.projViewMatrix,
12925
12926
  glScale: t && t.isRenderingTerrainSkin ? 1 : 1 / e.getGLScale(),
12926
12927
  viewport: n && t && t.viewport,
12928
+ maskViewport: n && t && t.maskViewport,
12927
12929
  hasSSRGround: t && t.hasSSRGround
12928
12930
  };
12929
12931
  return this.setIncludeUniformValues(i, t), i;
@@ -18233,7 +18235,7 @@ class oa extends _n {
18233
18235
  if (!(n && n.image && n.image.cache && n.image.cache[0])) continue;
18234
18236
  let {geometry: s} = n.image.cache[0];
18235
18237
  if (!s || !s[0] || !s[0].geometry) continue;
18236
- s = s[0].geometry.properties.billGeometry;
18238
+ if (s = s[0].geometry.properties.billGeometry, !s) continue;
18237
18239
  const {oldPickingId: a, contextCache: l, textureCache: h, features: c, billTexture: u} = s.properties;
18238
18240
  if (!a || !a.length) continue;
18239
18241
  let f = !1, d = !1;
@@ -18567,7 +18569,7 @@ class la extends _n {
18567
18569
  getUniformValues(e, t) {
18568
18570
  return {
18569
18571
  projViewMatrix: sa,
18570
- viewport: t && t.viewport
18572
+ viewport: t && t.maskViewport
18571
18573
  };
18572
18574
  }
18573
18575
  }
@@ -20878,5 +20880,5 @@ if (r.transcoders) {
20878
20880
 
20879
20881
  export { oa as BillBoardPainter, ba as BillBoardPlugin, xh as ExtrudePolygonLayer, Bn as FillPainter, ha as FillPlugin, Sh as FilterUtil, _a as GLTFPhongPlugin, va as GLTFStandardPlugin, Ma as GeoJSONVectorTileLayer, Aa as HeatmapPlugin, Wr as IconPainter, fa as IconPlugin, ua as LineGradientPlugin, Yn as LinePainter, ca as LinePlugin, rl as LineStringLayer, ya as LitPlugin, wa as MapboxVectorTileLayer, jo as NativeLinePainter, pa as NativeLinePlugin, Uo as NativePointPainter, bh as PackUtil, as as PhongPainter, ga as PhongPlugin, tl as PointLayer, nl as PointLayerRenderer, ll as PolygonLayer, Ph as SYMBOLS_NEED_REBUILD_IN_VECTOR, wh as SYMBOLS_NEED_REBUILD_IN_VT, la as TerrainFlatMaskPainter, Sa as TerrainFlatMaskPlugin, Ho as TextPainter, da as TextPlugin, xa as TubePlugin, vt as Vector3DLayer, ft as VectorTileLayer, Qe as VectorTileLayerRenderer, Ta as WaterPlugin, hs as WireframePainter, ma as WireframePlugin, L as getVectorPacker };
20880
20882
 
20881
- "undefined" != typeof console && console.log("@maptalks/vt v0.115.0");
20883
+ "undefined" != typeof console && console.log("@maptalks/vt v0.116.0");
20882
20884
  //# sourceMappingURL=maptalks.vt.es.js.map