src/components/LayerController/logic/WasteWater.js
@@ -68,9 +68,9 @@ storagePlaceId: res } }, title: title // 标题 title: '天津石化' + title // 标题 }) this.setPanTo(e.latlng, 150) this.animalService.setPanTo(e.latlng, 150) } this.requestWasteWaterData = async (e) => { // 基本信息 和 详细信息 展示数据所需参数 @@ -132,13 +132,5 @@ break } return testChange } // flayTo() 弹框的可滑动事件 this.setPanTo = (pos, value) => { var position = pos position = window.map.latLngToLayerPoint(position) position.y += value position = window.map.layerPointToLatLng(position) window.map.flyTo(position) } }