From d0f5933cb7fe9196ca0250252efc820a1a9d947e Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期三, 08 五月 2024 22:47:30 +0800 Subject: [PATCH] 新增历史轨迹菜单 --- src/utils/map/index_old.js | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/utils/map/index_old.js b/src/utils/map/index_old.js index dbe9f78..69704ff 100644 --- a/src/utils/map/index_old.js +++ b/src/utils/map/index_old.js @@ -1,5 +1,8 @@ /* eslint-disable no-undef */ // import '@/lib/AMap'; +import { useToolboxStore } from '@/stores/toolbox'; + +const toolboxStore = useToolboxStore(); var mapInitDone = false; var onMapMountedEvents = []; @@ -58,6 +61,7 @@ satellite = new AMap.TileLayer.Satellite(); satellite.show(); map.add([satellite]); + toolboxStore.featuresStatus = true; _initControlbar(); // _initMouseTool(); @@ -73,6 +77,7 @@ } }); map.addControl(controlbar); + toolboxStore.controlbarStatus = true; } // 榧犳爣缁樺浘鍒濆鍖� -- Gitblit v1.9.3