@maptalks/vt 0.118.0 → 0.118.1
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.118.
|
|
2
|
+
* @maptalks/vt v0.118.1
|
|
3
3
|
* LICENSE : undefined
|
|
4
4
|
* (c) 2016-2025 maptalks.org
|
|
5
5
|
*/
|
|
@@ -19660,7 +19660,11 @@ class ol extends(m(Wa)){
|
|
|
19660
19660
|
void 0 !== i && (delete n[fi], delete this._geometries[i], this._removeFeatures(i),
|
|
19661
19661
|
delete this.features[i], this.featuresChanged = !0);
|
|
19662
19662
|
}
|
|
19663
|
-
this.markRebuild(), sl(this)
|
|
19663
|
+
this.markRebuild(), sl(this), this.layer.fire("removegeo", {
|
|
19664
|
+
type: "removegeo",
|
|
19665
|
+
target: this,
|
|
19666
|
+
geometries: e
|
|
19667
|
+
});
|
|
19664
19668
|
}
|
|
19665
19669
|
}
|
|
19666
19670
|
onGeometrySymbolChange(e) {
|
|
@@ -19726,7 +19730,7 @@ class ol extends(m(Wa)){
|
|
|
19726
19730
|
onGeometryPropertiesChange(e) {
|
|
19727
19731
|
const t = e.target._getParent() || e.target, n = t[fi];
|
|
19728
19732
|
void 0 !== n && this.painter && (this.features[n] = gi(t, this._kidGen), this._refreshFeatures(this.features[n], n),
|
|
19729
|
-
this._markerMeshes && this._markerMeshes.length && this._markerPainter.needRebuildOnGometryPropertiesChanged() || this._lineMeshes && this._lineMeshes.length && this._linePainter.needRebuildOnGometryPropertiesChanged() || this.meshes && this.meshes.length && this.painter.needRebuildOnGometryPropertiesChanged() ? this.markRebuild() : this.painter.onFeatureChange(this.features[n], this.meshes),
|
|
19733
|
+
this._markerMeshes && this._markerMeshes.length && this._markerPainter.needRebuildOnGometryPropertiesChanged() || this._lineMeshes && this._lineMeshes.length && this._linePainter.needRebuildOnGometryPropertiesChanged() || this.meshes && this.meshes.length && this.painter.needRebuildOnGometryPropertiesChanged() ? this.markRebuild() : this.meshes && this.painter.onFeatureChange(this.features[n], this.meshes),
|
|
19730
19734
|
sl(this));
|
|
19731
19735
|
}
|
|
19732
19736
|
initContext() {
|
|
@@ -21114,5 +21118,5 @@ if (f.transcoders) {
|
|
|
21114
21118
|
|
|
21115
21119
|
export { _a as BillBoardPainter, La as BillBoardPlugin, Eh as ExtrudePolygonLayer, ei as FillPainter, Sa as FillPlugin, Vh as FilterUtil, Fa as GLTFPhongPlugin, Ea as GLTFStandardPlugin, Ua as GeoJSONVectorTileLayer, Da as HeatmapPlugin, to as IconPainter, wa as IconPlugin, Pa as LineGradientPlugin, oi as LinePainter, ba as LinePlugin, _l as LineStringLayer, ka as LitPlugin, za as MapboxVectorTileLayer, os as NativeLinePainter, Ia as NativeLinePlugin, ts as NativePointPainter, zh as PackUtil, As as PhongPainter, Ca as PhongPlugin, ml as PointLayer, yl as PointLayerRenderer, Sl as PolygonLayer, Gh as SYMBOLS_NEED_REBUILD_IN_VECTOR, Uh as SYMBOLS_NEED_REBUILD_IN_VT, Ta as TerrainFlatMaskPainter, Na as TerrainFlatMaskPlugin, qo as TextPainter, Ma as TextPlugin, Ra as TubePlugin, kt as Vector3DLayer, St as VectorTileLayer, ct as VectorTileLayerRenderer, Ha as WaterPlugin, Ss as WireframePainter, Oa as WireframePlugin, j as getVectorPacker };
|
|
21116
21120
|
|
|
21117
|
-
"undefined" != typeof console && console.log("@maptalks/vt v0.118.
|
|
21121
|
+
"undefined" != typeof console && console.log("@maptalks/vt v0.118.1");
|
|
21118
21122
|
//# sourceMappingURL=maptalks.vt.es.js.map
|
package/dist/maptalks.vt.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @maptalks/vt v0.118.
|
|
2
|
+
* @maptalks/vt v0.118.1
|
|
3
3
|
* LICENSE : undefined
|
|
4
4
|
* (c) 2016-2025 maptalks.org
|
|
5
5
|
*/
|
|
@@ -20924,7 +20924,11 @@
|
|
|
20924
20924
|
void 0 !== i && (delete n[Ar], delete this._geometries[i], this._removeFeatures(i),
|
|
20925
20925
|
delete this.features[i], this.featuresChanged = !0);
|
|
20926
20926
|
}
|
|
20927
|
-
this.markRebuild(), gh(this)
|
|
20927
|
+
this.markRebuild(), gh(this), this.layer.fire("removegeo", {
|
|
20928
|
+
type: "removegeo",
|
|
20929
|
+
target: this,
|
|
20930
|
+
geometries: e
|
|
20931
|
+
});
|
|
20928
20932
|
}
|
|
20929
20933
|
}
|
|
20930
20934
|
onGeometrySymbolChange(e) {
|
|
@@ -20990,7 +20994,7 @@
|
|
|
20990
20994
|
onGeometryPropertiesChange(e) {
|
|
20991
20995
|
const t = e.target._getParent() || e.target, n = t[Ar];
|
|
20992
20996
|
void 0 !== n && this.painter && (this.features[n] = Sr(t, this._kidGen), this._refreshFeatures(this.features[n], n),
|
|
20993
|
-
this._markerMeshes && this._markerMeshes.length && this._markerPainter.needRebuildOnGometryPropertiesChanged() || this._lineMeshes && this._lineMeshes.length && this._linePainter.needRebuildOnGometryPropertiesChanged() || this.meshes && this.meshes.length && this.painter.needRebuildOnGometryPropertiesChanged() ? this.markRebuild() : this.painter.onFeatureChange(this.features[n], this.meshes),
|
|
20997
|
+
this._markerMeshes && this._markerMeshes.length && this._markerPainter.needRebuildOnGometryPropertiesChanged() || this._lineMeshes && this._lineMeshes.length && this._linePainter.needRebuildOnGometryPropertiesChanged() || this.meshes && this.meshes.length && this.painter.needRebuildOnGometryPropertiesChanged() ? this.markRebuild() : this.meshes && this.painter.onFeatureChange(this.features[n], this.meshes),
|
|
20994
20998
|
gh(this));
|
|
20995
20999
|
}
|
|
20996
21000
|
initContext() {
|
|
@@ -23008,6 +23012,6 @@
|
|
|
23008
23012
|
e.SYMBOLS_NEED_REBUILD_IN_VT = Mf, e.TerrainFlatMaskPainter = kl, e.TerrainFlatMaskPlugin = $l,
|
|
23009
23013
|
e.TextPainter = os, e.TextPlugin = Hl, e.TubePlugin = Ul, e.Vector3DLayer = gn,
|
|
23010
23014
|
e.VectorTileLayer = sn, e.VectorTileLayerRenderer = $t, e.WaterPlugin = jl, e.WireframePainter = Rs,
|
|
23011
|
-
e.WireframePlugin = zl, e.getVectorPacker = h, "undefined" != typeof console && console.log("@maptalks/vt v0.118.
|
|
23015
|
+
e.WireframePlugin = zl, e.getVectorPacker = h, "undefined" != typeof console && console.log("@maptalks/vt v0.118.1");
|
|
23012
23016
|
}));
|
|
23013
23017
|
//# sourceMappingURL=maptalks.vt.js.map
|