src/views/MapTemplate.vue
@@ -39,10 +39,10 @@ this.serviceLayerHelper = Sgis.initTileLayersHelper(this.mapObj.map, this.mapObj.L) // 初始化业务底图助手 this.serviceLayerHelper.initServiceLayers() this.serviceLayerHelper.initServiceLayers(mapConfig) this.vectorLayerHelper = Sgis.initVectorLayersHelper(this.mapObj.map, this.mapObj.L) // 初始化动态要素图层助手 this.vectorLayerHelper.initVectorLayers() this.vectorLayerHelper.initVectorLayers(mapConfig) this.setLayerHelper(this.vectorLayerHelper) return this.map