派生自 wuyushui/SewerAndRainNetwork

chenzeping
2021-03-08 3cc9f0efa740810f88738788b062f348d8d9b48a
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
  }