From 612ac3de5dc5067b8140272feb378e4f4da8bde4 Mon Sep 17 00:00:00 2001 From: wangrui <zephyrs0894@163.com> Date: 星期二, 22 十二月 2020 16:53:12 +0800 Subject: [PATCH] 添加服务图层的配置加载。 --- src/views/MapTemplate.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/MapTemplate.vue b/src/views/MapTemplate.vue index 6ee012d..9dfea6c 100644 --- a/src/views/MapTemplate.vue +++ b/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 -- Gitblit v1.8.0