派生自 wuyushui/SewerAndRainNetwork

chenzeping
2021-04-01 8b0a709a5b67eefd575cbe593b44a9ed8396804a
src/components/helpers/VectorLayerHelper.js
@@ -3,7 +3,7 @@
 */
function VectorLayerHelper (options) {
  this.map = options.map
  this.L = options.L
  this.L = window.L
  this.vectorLayerMap = new Map()
  this.vectorLayerList = []
  this.vectorLayerGroup = null
@@ -14,7 +14,7 @@
     * @param map
     */
  this.initVectorLayers = (vueState) => {
    this.vectorLayerGroup = options.L.layerGroup().addTo(options.map)
    this.vectorLayerGroup = this.L.layerGroup().addTo(options.map)
    this.vueState = vueState
  }