From ae3da7e6c7e6916052e3de4f3fab0cfb73bf80c3 Mon Sep 17 00:00:00 2001 From: wangqi <magical1908@outlook.com> Date: 星期三, 07 四月 2021 10:08:04 +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