From 55fcb97a3d487f54353564f1e402e4d4b61feee9 Mon Sep 17 00:00:00 2001
From: GuLiMmo <2820890765@qq.com>
Date: Tue, 12 Mar 2024 17:54:05 +0800
Subject: [PATCH] update:kmz/json转换、kmz打包后无法解析等
---
src/components/GMap.vue | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/components/GMap.vue b/src/components/GMap.vue
index 450193d..a494cbd 100644
--- a/src/components/GMap.vue
+++ b/src/components/GMap.vue
@@ -736,6 +736,7 @@
</DroneControlPanel>
</div>
<waylineTool />
+ <routeProfile />
</div>
</template>
@@ -784,6 +785,7 @@
import { convertTimestampToDate } from '/@/utils/time'
import { cesiumOperation } from '/@/hooks/use-cesium-tsa'
import waylineTool from './waylinetool/index.vue'
+import routeProfile from './waylinetool/route-profile.vue'
export default defineComponent({
components: {
BorderOutlined,
@@ -809,7 +811,8 @@
CarryOutOutlined,
RocketOutlined,
DesktopOutlined,
- waylineTool
+ waylineTool,
+ routeProfile
},
name: 'GMap',
props: {},
@@ -1094,7 +1097,7 @@
url: liveURL,
video_id: videoId,
url_type: 1,
- video_quality: 0
+ video_quality: 1
})
.then(res => {
if (res.code !== 0) return
@@ -1162,6 +1165,7 @@
deviceInfo.device = data.deviceInfo[osdVisible.value.sn]
}
}
+
if (data.currentType === EDeviceTypeName.Dock && data.dockInfo[data.currentSn]) {
if (osdVisible.value.visible && osdVisible.value.is_dock && osdVisible.value.gateway_sn !== '') {
deviceInfo.dock = data.dockInfo[osdVisible.value.gateway_sn]
--
Gitblit v1.9.3