From b89ad0355f2d466304ecc2dad86407e26aa69db4 Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期一, 22 二月 2021 18:37:47 +0800 Subject: [PATCH] 修改图层控制 --- src/conf/MapConfig.js | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/conf/MapConfig.js b/src/conf/MapConfig.js index 9eed49f..dccff74 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 { ServiceLayers, PointLayers } from './Layers' +import { LayerSewersLine, LayerSewersPoint } from './LayerSewers' const curWwwPath = window.document.location.href const pathname = window.document.location.pathname const pos = curWwwPath.indexOf(pathname) @@ -35,8 +35,7 @@ showBaseMapType: 1, // 1鏄剧ず澶╁湴鍥撅紝2鏄剧ずarcgis鍦板浘 IntranetBaseMaps: TDT.intranet, InternetBaseMaps: TDT.internet, - ServiceLayers: ServiceLayers, - PointLayers: PointLayers + Layers: { LayerSewersLine: [LayerSewersLine], layerSewersPoint: LayerSewersPoint } // 姹¢洦姘村浘灞傞厤缃� } /** @@ -57,6 +56,5 @@ mapOptions, mapConfig, TokenConfig, - BLUEMAP_HOST } -- Gitblit v1.8.0