From 0fb110ad59cb693b809b7cae886fad7cd224fddf Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Fri, 21 Oct 2022 15:35:50 +0800
Subject: [PATCH] 首页导航标签更改、echarts样式修改
---
src/components/map/index.vue | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/src/components/map/index.vue b/src/components/map/index.vue
index fac1c5f..1000199 100644
--- a/src/components/map/index.vue
+++ b/src/components/map/index.vue
@@ -565,6 +565,24 @@
global.viewer.zoomController.enable = true
global.viewer.locationBar.enable = true
+ const seeNewLayer = new global.DC.VectorLayer('seeNewLayer')
+ global.viewer.addLayer(seeNewLayer)
+
+ const billboard = new global.DC.Billboard(
+ new global.DC.Position(
+ 115.79624983,
+ 28.64160990,
+ 0
+ ), '/zhjg/img/icon/yx.png')
+
+ billboard.size = [67, 266]
+
+ billboard.setStyle({
+ pixelOffset: { x: 0, y: -133 }
+ })
+
+ seeNewLayer.addOverlay(billboard)
+
// DC的鹰眼地图
// global.viewer.hawkeyeMap.enable = true
// global.viewer.hawkeyeMap.addBaseLayer(
--
Gitblit v1.9.3