Skip to content

Commit 13e55e0

Browse files
author
zhaokai
committed
三维工具图层active false
1 parent 7e732b2 commit 13e55e0

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

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=true
19+
this._utilPlotCanvas.editable=false
2020
this._plotLayerMap.push(this._utilPlotCanvas);
2121

2222
if (!PlotLayer3DGroup.instance) {

src/service/PlotBase/Animation/AnimationTypes/PlotExtendAnimation/PlotGrowAnimation/PlotCoordsAnimation.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @Author: zk
44
* @Date: 2022-03-23 10:02:49
55
* @LastEditors: zk
6-
* @LastEditTime: 2022-06-15 20:47:43
6+
* @LastEditTime: 2022-06-16 14:36:33
77
*/
88
import Point from '../../../../../PlotUtilBase/Geometry/Point';
99
import PlotBaseAnimation from '../../PlotBaseAnimation';
@@ -29,8 +29,6 @@ export default class PlotCoordsAnimation extends PlotBaseAnimation {
2929
return elem.positions.map((s) => new Point(s.x, s.y));
3030
}
3131
});
32-
33-
3432
}
3533
restore() {
3634
super.restore();
@@ -39,6 +37,7 @@ export default class PlotCoordsAnimation extends PlotBaseAnimation {
3937
});
4038
}
4139
_setPnts(obj, positions) {
40+
4241
if (obj.positions) {
4342
obj.positions = positions;
4443
}

0 commit comments

Comments
 (0)