src/components/helpers/ServiceLayerHelper.js
@@ -5,11 +5,19 @@ class ServiceLayerHelper { constructor(options){ this.map = options.map this.L = options.L this.tileLayersMap = new Map() this.tileLayersArray = [] } /** * 根据配置文件初始化业务底图 */ initServiceLayers(mapConfig){ console.log(mapConfig) } /** * 往地图中加入一个tile服务 * @param {}} options * @param {*} isAddToMap