From cb4ce544a38a4720b88946949b3258705d5ae2da Mon Sep 17 00:00:00 2001 From: chenzeping <ChenZeping02609@163.com> Date: 星期五, 02 四月 2021 17:07:37 +0800 Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop --- 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