From 204b8af237555feb1af83250dfdc28a5dc0a467c Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期一, 10 五月 2021 17:22:07 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/develop' into develop --- src/conf/layers/LayerHbss.js | 30 +++++++++++++++++++----------- 1 files changed, 19 insertions(+), 11 deletions(-) diff --git a/src/conf/layers/LayerHbss.js b/src/conf/layers/LayerHbss.js index bacacc0..dafb46d 100644 --- a/src/conf/layers/LayerHbss.js +++ b/src/conf/layers/LayerHbss.js @@ -1,8 +1,8 @@ /** * 鍖哄煙 */ -const APP_GIS_HOST_2 = 'http://xearth.cn:8088' -const WFS_URL = APP_GIS_HOST_2 + '/server/ogcserver/PipeLine/wfs' +import { PIPELINE_WFS, SERVICE_TYPE } from '../Constants' +const WFS_URL = PIPELINE_WFS export const LayerHbss = { code: 'sewersHbss', name: '鐜繚璁炬柦', @@ -12,9 +12,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,15 +23,18 @@ 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, + minZoom: 16, + type: SERVICE_TYPE.WMS, wfs: WFS_URL + '?TYPENAME=闃茬伀鍫�', checked: false }, @@ -38,15 +42,17 @@ code: 'jsc', name: '闆嗘按姹�', sname: '闆嗘按姹�', - minZoom: 10, + minZoom: 16, wfs: WFS_URL + '?TYPENAME=闆嗘按姹�', checked: false, + type: SERVICE_TYPE.WMS, icon: 'sewers/闆嗘按姹�.png' }, { code: 'jlz', name: '鎴祦闂�', sname: '鎴祦闂�', + type: SERVICE_TYPE.WMS, wfs: WFS_URL + '?TYPENAME=鎴祦闂�', checked: false }, @@ -54,7 +60,8 @@ code: 'yly', name: '婧㈡祦鍫�', sname: '婧㈡祦鍫�', - minZoom: 10, + minZoom: 16, + type: SERVICE_TYPE.WMS, wfs: WFS_URL + '?TYPENAME=婧㈡祦鍫�', checked: false }, @@ -62,8 +69,9 @@ code: 'gyd', name: '闅旀补姹�', sname: '闅旀补姹�', - minZoom: 10, + minZoom: 16, checked: false, + type: SERVICE_TYPE.WMS, wfs: WFS_URL + '?TYPENAME=闅旀补姹�', icon: 'sewers/闅旀补姹�.png' } -- Gitblit v1.8.0