派生自 wuyushui/SewerAndRainNetwork

ChenZeping
2021-05-08 3ec2e48009c84474ead34a82713ccc8c46f05d26
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)
  }