派生自 wuyushui/SewerAndRainNetwork

zhangshuaibao
2021-04-07 4eb0ca2b0e1e7b43a0b56fe392f632cb84966802
src/components/LayerController/logic/WasteWater.js
@@ -37,7 +37,8 @@
        test: data[i],
        icon: L.icon({
          iconUrl: iconUrl,
          iconSize: [20, 20]
          iconSize: [20, 20],
          iconAnchor: [10, 10]
        })
      })
      layer.addLayer(marker)
@@ -63,7 +64,7 @@
    // console.log(e.layer.options.test)
    instance.$mount()
    document.body.appendChild(instance.$el)
    this.setPanTo(e.latlng, 240)
    this.setPanTo(e.latlng, 80)
  }
  // 根据返回值的不同标记不同图片