派生自 wuyushui/SewerAndRainNetwork

徐旺旺
2021-05-13 316a5f6da4a38d0f2f0f83e662252f0694771222
src/components/LayerController/service/LayerFactory.js
@@ -193,8 +193,10 @@
        point = lineString[parseInt(lineString.length / 2)][0]
        break
    }
    console.log(point)
    window.map.flyTo(point.reverse(), 17)
    if (point.length > 2) {
      point.splice(2, 1)
    }
    window.map.setView(point.reverse(), 17)
    code && this.openPopup(code, feature.id)
  }