From 65113eae10994702a740a79e7461539d7bcbba08 Mon Sep 17 00:00:00 2001
From: zhangshuaibao <15731629597@163.com>
Date: 星期三, 31 三月 2021 19:02:30 +0800
Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop
---
src/components/LayerController/logic/SolidWaste.js | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/src/components/LayerController/logic/SolidWaste.js b/src/components/LayerController/logic/SolidWaste.js
index dd48fcc..e12ae43 100644
--- a/src/components/LayerController/logic/SolidWaste.js
+++ b/src/components/LayerController/logic/SolidWaste.js
@@ -52,6 +52,8 @@
this.clickListener = async (e) => {
this.animalService.pulseEffect(e.latlng)
+ // this.setPanTo(e.latlng, 200)
+ console.log(e)
const dataValue = {
StoragePlaceId: e.layer.options.test.StoragePlaceId
}
@@ -59,11 +61,20 @@
// console.log(result)
const PublicBounced = window.Vue.extend(publicBounced)
const instance = new PublicBounced()
- instance.setData(result, 'gufei')
instance.$mount()
document.body.appendChild(instance.$el)
+ instance.setData(result, 'gufei')
}
+ // panTo
+ // this.setPanTo = (pos, value) => {
+ // var position = pos
+ // position = this.map.latLngToLayerPoint(position)
+ // position.y += value
+ // position = this.map.layerPointToLatLng(position)
+ // this.map.flyTo(position)
+ // }
+
// 涓嶅悓绫诲瀷鍥剧墖灏佽
this.differentTypes = (judgeValue) => {
var effectOfChange
--
Gitblit v1.8.0