From e9c97388f4c2c789e0eaabc4c4ae2fc42eb4026c Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Mon, 02 Dec 2024 21:25:33 +0800
Subject: [PATCH] 页面样式
---
src/pages/map/components/scomponents/layersControl.vue | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/pages/map/components/scomponents/layersControl.vue b/src/pages/map/components/scomponents/layersControl.vue
index 4e6c14c..1e3cc43 100644
--- a/src/pages/map/components/scomponents/layersControl.vue
+++ b/src/pages/map/components/scomponents/layersControl.vue
@@ -169,14 +169,13 @@
const { attrParams } = e.overlay
// 删除
destroy()
- if (!attrParams.imageUrl) {
- return
- }
+ // if (!attrParams.imageUrl) {
+ // return
+ // }
addPupoLayers[attrParams.name] = new DC.HtmlLayer(attrParams.name)
window.$viewer.addLayer(addPupoLayers[attrParams.name])
let iconEl = `<div class="marsBlueGradientPnl">
<div>${attrParams.fullName}</div>
- <img src="${attrParams.imageUrl}" />
</div>`
let divIcon = new DC.DivIcon(
new DC.Position(attrParams.lng, attrParams.lat, attrParams.ele || 64),
--
Gitblit v1.9.3