Skip to content

Commit 4e05016

Browse files
author
zhaokai
committed
Merge branch 'webclient_plot' of github.com:MapGIS/WebClient-JavaScript into webclient_plot
2 parents ff825b8 + 0eccc01 commit 4e05016

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/service/3DPlot/EditTool/EditTool.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ export default class EditTool {
224224
this._plotLayer._viewer,
225225
event.startPosition
226226
);
227+
if(!mouseCartesian) return;
227228
//转化为经纬度坐标
228229
let mouseCartographic = Cesium.Cartographic.fromCartesian(mouseCartesian);
229230
//设置位置点高度

src/service/3DPlot/PlotLayer3DGroup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class PlotLayer3DGroup {
1616
this._viewer = viewer;
1717
//工具图层
1818
this._utilPlotCanvas = new PlotLayer3D(Cesium, this._viewer);
19-
this._utilPlotCanvas.editable=false
19+
this._utilPlotCanvas.editable=true
2020
this._plotLayerMap.push(this._utilPlotCanvas);
2121

2222
if (!PlotLayer3DGroup.instance) {

0 commit comments

Comments
 (0)