FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

【SDK】【service】【删除图元时删除控制点】 · MapGIS/WebClient-JavaScript@a774101 · GitHub

Commit a774101

Browse files
committed
【SDK】【service】【删除图元时删除控制点】
1 parent b3548dd commit a774101

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎src/service/3DPlot/PlotLayer3D.js‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,12 @@ class PlotLayer3D extends Observable {
118118
let plotLayer = this._getPlotLayer();
119119
if (plotLayer) {
120120
removeExtendLayersPlot(this._linkTool, plot);
121+
if(plot._positionBillboards){
122+
this._viewer.scene.primitives.remove(plot._positionBillboards);
123+
}
124+
if(plot._shapeBillboards){
125+
this._viewer.scene.primitives.remove(plot._shapeBillboards);
126+
}
121127
return plotLayer.remove(plot);
122128
}
123129
}

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL