From 9a3296d09777fbde9a11979db867c7597919c62c Mon Sep 17 00:00:00 2001
From: wangqi <magical1908@outlook.com>
Date: 星期三, 07 四月 2021 18:02:04 +0800
Subject: [PATCH] 弹窗出现位置缩小

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

diff --git a/src/components/LayerController/logic/WasteGas.js b/src/components/LayerController/logic/WasteGas.js
index 2fba1fa..2ac1651 100644
--- a/src/components/LayerController/logic/WasteGas.js
+++ b/src/components/LayerController/logic/WasteGas.js
@@ -41,7 +41,7 @@
         icon: L.icon({
           iconUrl: iconUrl,
           iconSize: [20, 20],
-          iconAnchor: [10, 20]
+          iconAnchor: [10, 10]
         })
       })
       layer.addLayer(marker)
@@ -67,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