From f418dbba7378dea1974bf8a34d0da68d625f5abb Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期三, 31 三月 2021 16:56:46 +0800 Subject: [PATCH] 添加企业点图层控制修改 --- src/components/LayerController/logic/Company.js | 12 +++--------- 1 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/components/LayerController/logic/Company.js b/src/components/LayerController/logic/Company.js index f4ff3f0..7ccce20 100644 --- a/src/components/LayerController/logic/Company.js +++ b/src/components/LayerController/logic/Company.js @@ -22,6 +22,7 @@ console.log(res) const data = res.Result.DataInfo || {} for (let i = 0; i < data.length; i++) { + console.log(data[i]) // 缁忕含搴� 浣嶇疆 const positionX = data[i].Latitude const positionY = data[i].Longitude @@ -44,16 +45,9 @@ return '浼佷笟' } - this.clickListener = (layer) => { - /* this.animalService.pulseEffect(e.latlng) + this.clickListener = (e) => { + this.animalService.pulseEffect(e.latlng) console.log(e) return this.PublicBounced.$el - */ - console.log(layer) } - - // 鍥哄簾鐐瑰嚮杩涜鐨� 鍐呭鐨勮缃� - // SetSolidWasteContent (config, containerPopup) { - // this.SolidWastePopup = containerPopup - // } } -- Gitblit v1.8.0