From 807b6499bc59395497f4b372b718f1e5a51e9f97 Mon Sep 17 00:00:00 2001 From: "1181364@qq.com" Date: Mon, 29 May 2023 18:16:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E6=A0=87=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dashboard/components/HomeMap.vue | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/views/dashboard/components/HomeMap.vue b/src/views/dashboard/components/HomeMap.vue index 44a9022..839a8d7 100644 --- a/src/views/dashboard/components/HomeMap.vue +++ b/src/views/dashboard/components/HomeMap.vue @@ -17,6 +17,20 @@ chart: null, startCharts: null, charPie3currentIndex: 0, + markPointData: [ + { + name: '河北省第一仓库', + coord: [114.693382, 37.483596], + }, + { + name: '河北省第二仓库', + coord: [115.793379, 37.483596] + }, + { + name: '河北省第三仓库', + coord: [116.693382, 38.483596], + } + ], dataLen: 0 } }, @@ -186,6 +200,10 @@ type: 'map', roam: true, map: 'xingtai', + markPoint: { + symbolSize: [20, 40], + data: this.markPointData + }, label: { show: false // formatter: '{b}:{@score}人'