From ac19ae903dd740bdaf1499ae40ef4039fdb4e6ad Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Fri, 31 Mar 2023 22:00:21 +0800
Subject: [PATCH] Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/srs-police-affairs
---
src/views/activity/components/publicIndex.vue | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/views/activity/components/publicIndex.vue b/src/views/activity/components/publicIndex.vue
index c2da14b..798b396 100644
--- a/src/views/activity/components/publicIndex.vue
+++ b/src/views/activity/components/publicIndex.vue
@@ -179,7 +179,7 @@
this.$refs.DRAWBTNBOX.removeDrawArrow()
-
+ this.$parent.showingSecurityId = ''
this.$EventBus.$emit('mapRemoveLayer', {
layerName: 'activityCameraLayers',
@@ -564,6 +564,9 @@
*/
addMapLineLayers (data) {
data.forEach(item => {
+ let maxHeight = item.altitude.split(',').reduce((pre, cur) => {
+ return cur > pre ? cur : pre
+ }, 0)
let positionNewArr = this.convertPolylineOrPolygonPositionDate(item, 'port')
// 线坐标字符串
item.linePositionStr = positionNewArr
@@ -585,7 +588,7 @@
let positionStr = ''
coords.forEach(item => {
- positionStr += item[0] + ',' + item[1] + ';'
+ positionStr += item[0] + ',' + item[1] + ',' + maxHeight + ';'
})
item.polygonPositionStr = positionStr
--
Gitblit v1.9.3