From 86c2d61ba9d33f1886cfc904dcaf17f033e4c80a Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sat, 17 Jan 2026 13:52:53 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/jagzwxm/ja_web
---
applications/drone-command/src/store/modules/common.js | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/applications/drone-command/src/store/modules/common.js b/applications/drone-command/src/store/modules/common.js
index ce4a88f..c9737e6 100644
--- a/applications/drone-command/src/store/modules/common.js
+++ b/applications/drone-command/src/store/modules/common.js
@@ -23,6 +23,15 @@
},
safeHeight: 0, // 获取选择航线高度
positionsArr: [], // 获取选择航线点数据
+
+
+ // 地图设置
+ mapSetting: {
+ mode: 17, // 0为标准地图, 1为卫星地图
+ roadLine: true,
+ visual: '3D',
+ isDark: false,
+ },
},
mutations: {
setSafeHeight (state, data) {
@@ -104,6 +113,10 @@
type: 'session',
});
},
+
+ SET_MAP_MODE: (state, mode) => {
+ state.mapSetting.mode = mode
+ }
},
};
export default common;
--
Gitblit v1.9.3