From 33cda7f17d2f1a2e8a95eeb3bdc8a4297bbb9465 Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期二, 06 四月 2021 16:11:23 +0800
Subject: [PATCH] 修改图层控制配置

---
 src/components/LayerController/logic/SolidWaste.js |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/src/components/LayerController/logic/SolidWaste.js b/src/components/LayerController/logic/SolidWaste.js
index bb980a5..9344ecf 100644
--- a/src/components/LayerController/logic/SolidWaste.js
+++ b/src/components/LayerController/logic/SolidWaste.js
@@ -43,12 +43,6 @@
           iconAnchor: [25, 25]
         })
       })
-      marker.bindTooltip(getSolidWasteData[i].Name, {
-        permanent: true,
-        offset: [0, 14],
-        direction: 'bottom',
-        className: 'company-bindTooltip'
-      })
       layer.addLayer(marker)
     }
   }
@@ -89,12 +83,12 @@
     const instance = new PublicBounced()
     instance.$mount()
     document.body.appendChild(instance.$el)
-    instance.setData(resultBasic.Result.DataInfo, resultDetailed, 'gufei')
+    instance.setData(resultBasic.Result.DataInfo, resultDetailed.Result.DataInfo, 'gufei')
     /* flyTo()寮瑰嚭妗嗗钩绉讳簨浠� */
     this.setPanTo(e.latlng, 200)
   }
 
-  // flayTo()
+  // flayTo() 寮规鐨勫彲婊戝姩浜嬩欢
   this.setPanTo = (pos, value) => {
     var position = pos
     position = window.map.latLngToLayerPoint(position)

--
Gitblit v1.8.0