src/components/LayerController/logic/WasteGas.js
@@ -71,7 +71,7 @@ }, title: title // 标题 }) this.setPanTo(e.latlng, 150) this.animalService.setPanTo(e.latlng, 150) } // 不同类型图片加载 this.differentTypes = (ContrLevel) => { @@ -88,12 +88,5 @@ // effectOfChange = ImgGray // } return effectOfChange } this.setPanTo = (pos, value) => { var position = pos position = window.map.latLngToLayerPoint(position) position.y += value position = window.map.layerPointToLatLng(position) window.map.flyTo(position) } }