派生自 wuyushui/SewerAndRainNetwork

徐旺旺
2021-05-08 851d91b60b91865f2d6964b2981244cb523aa331
src/components/LayerController/service/LayerFactory.js
@@ -17,6 +17,7 @@
    this.layersLogic = {}
    this.minZoomLayers = {}
    this.wmsLayers = []
    this.clickSwitch = true // 图层点击弹窗开关
  }
  init (layerConfig) {
@@ -186,7 +187,7 @@
        point = coordinates[parseInt(coordinates.length / 2)][0]
        break
    }
    window.map.flyTo(point.reverse(), 15)
    window.map.flyTo(point.reverse(), 17)
    code && this.openPopup(code, feature.id)
  }