派生自 wuyushui/SewerAndRainNetwork

zhangshuaibao
2021-03-31 65113eae10994702a740a79e7461539d7bcbba08
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