From a3a0083ab18c8b4f0dad49ecbc67275df1896f5d Mon Sep 17 00:00:00 2001 From: yangdelong <828900aaa> Date: 星期一, 19 四月 2021 12:38:03 +0800 Subject: [PATCH] 修改废气页面的标准值,生成独立组件 --- src/conf/layers/LayerArea.js | 21 ++++++++------------- 1 files changed, 8 insertions(+), 13 deletions(-) diff --git a/src/conf/layers/LayerArea.js b/src/conf/layers/LayerArea.js index f3b9da5..0ec2ae6 100644 --- a/src/conf/layers/LayerArea.js +++ b/src/conf/layers/LayerArea.js @@ -1,38 +1,33 @@ /** * 鍖哄煙 */ -const APP_GIS_HOST_2 = 'http://xearth.cn:8088' -const WFS_URL = APP_GIS_HOST_2 + '/server/ogcserver/PipeLine/wfs' +import { PIPELINE_WFS } from '../Constants' +const WFS_URL = PIPELINE_WFS export const LayerArea = { code: 'sewersArea', name: '鍖哄煙淇℃伅', - checked: true, + checked: false, layers: [ { code: 'sewersAreaGs', name: '鍏徃', sname: '鍏徃', // 琛ㄥ悕 checked: true, // 榛樿閫変腑鐘舵�� - wfs: WFS_URL + '?TYPENAME=鍏徃', - minZoom: 10, // 鍦ㄦ寚瀹氱骇鍒樉绀� - childLayer: 'fsss,hbss' // 鍏宠仈PointLayers + url: WFS_URL + '?TYPENAME=鍏徃' }, { code: 'sewersAreaMt', name: '鐮佸ご', sname: '鐮佸ご', - checked: true, // 榛樿閫変腑鐘舵�� - wfs: WFS_URL + '?TYPENAME=鐮佸ご', - minZoom: 10, - childLayer: 'fsss,hbss' // 鍏宠仈PointLayers + checked: false, // 榛樿閫変腑鐘舵�� + wfs: WFS_URL + '?TYPENAME=鐮佸ご' }, { code: 'sewersAreaZz', name: '瑁呯疆鍖�', sname: '瑁呯疆鍖�', - checked: true, // 榛樿閫変腑鐘舵�� - wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�', - minZoom: 10 + checked: false, // 榛樿閫変腑鐘舵�� + wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�' } ] } -- Gitblit v1.8.0