src/views/MapTemplate.vue
@@ -90,7 +90,7 @@ L: window.L, map: this.map }) layerFactory.init() layerFactory.init(this.$store.state.map.serviceLayers.LayerSewersLine) window.layerFactory = layerFactory this.basemapHelper = Sgis.initBasemapsHelper(this.map) // 初始化基础底图助手 @@ -106,7 +106,6 @@ // this.setBasemapHelper(this.basemapHelper) // this.setServiceLayerHelper(this.serviceLayerHelper) // this.setVectorLayerHelper(this.vectorLayerHelper) this.addMarker() }, onLayerClick () { this.$refs.popup.setShow()