From 26e060f15e0ac993dd8bcc842387b7e1c1e5b71f Mon Sep 17 00:00:00 2001 From: chenzeping <ChenZeping02609@163.com> Date: 星期二, 16 三月 2021 20:43:12 +0800 Subject: [PATCH] 修改 --- src/conf/MapConfig.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/conf/MapConfig.js b/src/conf/MapConfig.js index 4512d66..2fb7b12 100644 --- a/src/conf/MapConfig.js +++ b/src/conf/MapConfig.js @@ -1,6 +1,7 @@ 锘縤mport * as L from 'leaflet' import TDT from './TDT' import { LayerSewersLine, LayerSewersPoint } from './LayerSewers' +import { LayerWasteWater } from './LayerWasteWater' const curWwwPath = window.document.location.href const pathname = window.document.location.pathname const pos = curWwwPath.indexOf(pathname) @@ -34,9 +35,10 @@ const mapConfig = { IsLoadMapByToken: true, // 鏄惁閫氳繃token鍔犺浇鍦板浘 showBaseMapType: 1, // 1鏄剧ず澶╁湴鍥撅紝2鏄剧ずarcgis鍦板浘 + // defaultBasemapCode: 'tianditu_img', // 榛樿鏄剧ず 鍦板浘绫诲瀷 IntranetBaseMaps: TDT.intranet, InternetBaseMaps: TDT.internet, - Layers: { LayerSewersLine: [LayerSewersLine], layerSewersPoint: LayerSewersPoint } // 姹¢洦姘村浘灞傞厤缃� + Layers: { LayerSewersLine: [LayerSewersLine, LayerWasteWater], layerSewersPoint: LayerSewersPoint } // 姹¢洦姘村浘灞傞厤缃� } /** -- Gitblit v1.8.0