From c8a85fd0941b567b1bc1808a7b5de129bcb734b6 Mon Sep 17 00:00:00 2001 From: seatonwan9 <seatonwan9@163.com> Date: 星期五, 21 五月 2021 14:30:35 +0800 Subject: [PATCH] 环境风险统计图显示 --- src/conf/layers/LayerHbss.js | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/conf/layers/LayerHbss.js b/src/conf/layers/LayerHbss.js index dafb46d..7727670 100644 --- a/src/conf/layers/LayerHbss.js +++ b/src/conf/layers/LayerHbss.js @@ -1,8 +1,7 @@ /** * 鍖哄煙 */ -import { PIPELINE_WFS, SERVICE_TYPE } from '../Constants' -const WFS_URL = PIPELINE_WFS +import { SERVICE_TYPE } from '../Constants' export const LayerHbss = { code: 'sewersHbss', name: '鐜繚璁炬柦', @@ -15,7 +14,7 @@ checked: false, minZoom: 16, type: SERVICE_TYPE.WMS, - wmsLayers: 'sewer:manhole', + typeName: 'sewer:manhole', icon: 'sewers/绐ㄤ簳.png' }, { @@ -35,7 +34,7 @@ sname: '闃茬伀鍫�', minZoom: 16, type: SERVICE_TYPE.WMS, - wfs: WFS_URL + '?TYPENAME=闃茬伀鍫�', + typeName: 'sewer:firedike', checked: false }, { @@ -43,7 +42,7 @@ name: '闆嗘按姹�', sname: '闆嗘按姹�', minZoom: 16, - wfs: WFS_URL + '?TYPENAME=闆嗘按姹�', + typeName: 'sewer:collectingbasin', checked: false, type: SERVICE_TYPE.WMS, icon: 'sewers/闆嗘按姹�.png' @@ -53,7 +52,7 @@ name: '鎴祦闂�', sname: '鎴祦闂�', type: SERVICE_TYPE.WMS, - wfs: WFS_URL + '?TYPENAME=鎴祦闂�', + typeName: 'sewer:collectingbasin', checked: false }, { @@ -62,7 +61,7 @@ sname: '婧㈡祦鍫�', minZoom: 16, type: SERVICE_TYPE.WMS, - wfs: WFS_URL + '?TYPENAME=婧㈡祦鍫�', + typeName: 'ewer:overflowweir', checked: false }, { @@ -72,7 +71,7 @@ minZoom: 16, checked: false, type: SERVICE_TYPE.WMS, - wfs: WFS_URL + '?TYPENAME=闅旀补姹�', + typeName: 'ewer:oilseparator', icon: 'sewers/闅旀补姹�.png' } ] -- Gitblit v1.8.0