派生自 wuyushui/SewerAndRainNetwork

chenzeping
2021-03-16 f09ea9a3d13a7a39f63457a20d403b93315fb177
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
  }