From 176aac34d8841cf5fd9a6032ee9988adf9a6233d Mon Sep 17 00:00:00 2001
From: wangqi <magical1908@outlook.com>
Date: 星期三, 14 四月 2021 12:58:17 +0800
Subject: [PATCH] table数据
---
src/conf/layers/LayerArea.js | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/src/conf/layers/LayerArea.js b/src/conf/layers/LayerArea.js
index c57b612..ffdbf98 100644
--- a/src/conf/layers/LayerArea.js
+++ b/src/conf/layers/LayerArea.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 } from '../Constants'
+const WFS_URL = PIPELINE_WFS
export const LayerArea = {
code: 'sewersArea',
name: '鍖哄煙淇℃伅',
@@ -13,24 +13,21 @@
name: '鍏徃',
sname: '鍏徃', // 琛ㄥ悕
checked: true, // 榛樿閫変腑鐘舵��
- url: WFS_URL + '?TYPENAME=鍏徃',
- minZoom: 10
+ url: WFS_URL + '?TYPENAME=鍏徃'
},
{
code: 'sewersAreaMt',
name: '鐮佸ご',
sname: '鐮佸ご',
checked: true, // 榛樿閫変腑鐘舵��
- wfs: WFS_URL + '?TYPENAME=鐮佸ご',
- minZoom: 10
+ wfs: WFS_URL + '?TYPENAME=鐮佸ご'
},
{
code: 'sewersAreaZz',
name: '瑁呯疆鍖�',
sname: '瑁呯疆鍖�',
checked: true, // 榛樿閫変腑鐘舵��
- wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�',
- minZoom: 10
+ wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�'
}
]
}
--
Gitblit v1.8.0