From 553614ce8f6f6b7a2cfbe1572cd7edf597dbb9aa Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 02 Dec 2024 19:00:43 +0800
Subject: [PATCH] 地图点的高度处理调整
---
src/views/pac/components/box/dataContent.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/views/pac/components/box/dataContent.vue b/src/views/pac/components/box/dataContent.vue
index 50cf14e..5e07c9d 100644
--- a/src/views/pac/components/box/dataContent.vue
+++ b/src/views/pac/components/box/dataContent.vue
@@ -123,7 +123,7 @@
}
let divIcon = new DC.DivIcon(
- new DC.Position(i.lng, i.lat, 64),
+ new DC.Position(i.lng, i.lat, i.ele || 64),
`<div class="public-map-popup ${divclassName}">
${iconEl}
</div>`
--
Gitblit v1.9.3