From 4eb0ca2b0e1e7b43a0b56fe392f632cb84966802 Mon Sep 17 00:00:00 2001
From: zhangshuaibao <15731629597@163.com>
Date: 星期三, 07 四月 2021 18:10:24 +0800
Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop

---
 src/components/LayerController/logic/WasteGas.js |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/components/LayerController/logic/WasteGas.js b/src/components/LayerController/logic/WasteGas.js
index eebddfc..2ac1651 100644
--- a/src/components/LayerController/logic/WasteGas.js
+++ b/src/components/LayerController/logic/WasteGas.js
@@ -40,7 +40,8 @@
         test: data[i],
         icon: L.icon({
           iconUrl: iconUrl,
-          iconSize: [20, 20]
+          iconSize: [20, 20],
+          iconAnchor: [10, 10]
         })
       })
       layer.addLayer(marker)
@@ -66,7 +67,7 @@
     // console.log(e.layer.options.test)
     instance.$mount()
     document.body.appendChild(instance.$el)
-    this.setPanTo(e.latlng, 240)
+    this.setPanTo(e.latlng, 80)
   }
   // 涓嶅悓绫诲瀷鍥剧墖鍔犺浇
   this.differentTypes = (ContrLevel) => {

--
Gitblit v1.8.0