src/components/helpers/ServiceLayerHelper.js
@@ -5,8 +5,18 @@ class ServiceLayerHelper { constructor(options){ this.map = options.map this.L = options.L this.tileLayersMap = new Map() this.tileLayersArray = [] this.mapConfig = {} } /** * 根据配置文件初始化业务底图 */ initServiceLayers(mapConfig){ console.log(mapConfig) this.mapConfig = mapConfig } /**