@ -984,6 +984,11 @@ const flyToThere = (e) => {
});
}
if(moveTool){
moveTool.destroy();
moveTool = null;
if(!stickGraphicLayer){
stickGraphicLayer = new mars3d.layer.GraphicLayer({
isAutoEditing: false // 是否自动激活编辑
@ -992,6 +997,7 @@ const flyToThere = (e) => {
uavGraphicLayer.clear();
stickGraphicLayer.clear();
let position = mars3d.LngLatPoint.fromCartesian(e.position);