From 0e9c7f99a32785953cd155299275584c00097c96 Mon Sep 17 00:00:00 2001 From: YANGDL <114714267@qq.com> Date: 星期一, 22 二月 2021 15:29:55 +0800 Subject: [PATCH] 修改配置文件 --- src/conf/MapConfig.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/conf/MapConfig.js b/src/conf/MapConfig.js index 351daba..9eed49f 100644 --- a/src/conf/MapConfig.js +++ b/src/conf/MapConfig.js @@ -1,6 +1,6 @@ 锘縤mport * as L from 'leaflet' import TDT from './TDT' -import { Layers } from './Layers' +import { ServiceLayers, PointLayers } from './Layers' const curWwwPath = window.document.location.href const pathname = window.document.location.pathname const pos = curWwwPath.indexOf(pathname) @@ -35,7 +35,8 @@ showBaseMapType: 1, // 1鏄剧ず澶╁湴鍥撅紝2鏄剧ずarcgis鍦板浘 IntranetBaseMaps: TDT.intranet, InternetBaseMaps: TDT.internet, - ServiceLayers: Layers + ServiceLayers: ServiceLayers, + PointLayers: PointLayers } /** -- Gitblit v1.8.0