From b745ea141fbbaea16b9b13ce18b778fc50f6fcd0 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 07 Jan 2026 16:43:26 +0800
Subject: [PATCH] feat:反无系统基建相关处理
---
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