From 4a80ef5544ff210d9e0aaa4cb1eaf3dba8c39645 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期四, 13 五月 2021 11:14:14 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/develop' into develop --- src/conf/layers/LayerHbss.js | 39 +++++++++++++++++++++++---------------- 1 files changed, 23 insertions(+), 16 deletions(-) diff --git a/src/conf/layers/LayerHbss.js b/src/conf/layers/LayerHbss.js index fe105f7..f93be09 100644 --- a/src/conf/layers/LayerHbss.js +++ b/src/conf/layers/LayerHbss.js @@ -1,8 +1,7 @@ /** * 鍖哄煙 */ -import { PIPELINE_WFS } from '../Constants' -const WFS_URL = PIPELINE_WFS +import { SERVICE_TYPE } from '../Constants' export const LayerHbss = { code: 'sewersHbss', name: '鐜繚璁炬柦', @@ -12,9 +11,10 @@ code: 'yj', name: '绐ㄤ簳', sname: '绐ㄤ簳', - checked: true, - minZoom: 10, - wfs: WFS_URL + '?TYPENAME=绐ㄤ簳', + checked: false, + minZoom: 16, + type: SERVICE_TYPE.WMS, + wmsLayers: 'sewer:manhole', icon: 'sewers/绐ㄤ簳.png' }, { @@ -22,49 +22,56 @@ name: '闆ㄧ瀛�', sname: '闆ㄧ瀛�', checked: false, - minZoom: 10, - wfs: WFS_URL + '?TYPENAME=闆ㄧ瀛�', + minZoom: 16, + type: SERVICE_TYPE.WMS, + typeName: 'sewer:raingate', + // wfs: WFS_URL + '?TYPENAME=闆ㄧ瀛�', icon: 'sewers/闆ㄧ瀛�.png' }, { code: 'fht', name: '闃茬伀鍫�', sname: '闃茬伀鍫�', - minZoom: 10, - wfs: WFS_URL + '?TYPENAME=闃茬伀鍫�', + minZoom: 16, + type: SERVICE_TYPE.WMS, + typeName: 'sewer:firedike', checked: false }, { code: 'jsc', name: '闆嗘按姹�', sname: '闆嗘按姹�', - minZoom: 10, - wfs: WFS_URL + '?TYPENAME=闆嗘按姹�', + minZoom: 16, + typeName: 'sewer:collectingbasin', checked: false, + type: SERVICE_TYPE.WMS, icon: 'sewers/闆嗘按姹�.png' }, { code: 'jlz', name: '鎴祦闂�', sname: '鎴祦闂�', - wfs: WFS_URL + '?TYPENAME=鎴祦闂�', + type: SERVICE_TYPE.WMS, + typeName: 'sewer:collectingbasin', checked: false }, { code: 'yly', name: '婧㈡祦鍫�', sname: '婧㈡祦鍫�', - minZoom: 10, - wfs: WFS_URL + '?TYPENAME=婧㈡祦鍫�', + minZoom: 16, + type: SERVICE_TYPE.WMS, + typeName: 'ewer:overflowweir', checked: false }, { code: 'gyd', name: '闅旀补姹�', sname: '闅旀补姹�', - minZoom: 10, + minZoom: 16, checked: false, - wfs: WFS_URL + '?TYPENAME=闅旀补姹�', + type: SERVICE_TYPE.WMS, + typeName: 'ewer:oilseparator', icon: 'sewers/闅旀补姹�.png' } ] -- Gitblit v1.8.0