From bc1bacba044c4dd3d3e0cd5470c6188cd5e2bc12 Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期三, 07 四月 2021 11:31:10 +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