From b0cb4ea7d287fffe598b42f189e6d6e6f06f3d40 Mon Sep 17 00:00:00 2001
From: wangqi <magical1908@outlook.com>
Date: 星期五, 16 四月 2021 10:41:19 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/develop' into develop

---
 src/conf/layers/LayerFsss.js |   29 ++++++++++++++---------------
 1 files changed, 14 insertions(+), 15 deletions(-)

diff --git a/src/conf/layers/LayerFsss.js b/src/conf/layers/LayerFsss.js
index ce4269c..0edef60 100644
--- a/src/conf/layers/LayerFsss.js
+++ b/src/conf/layers/LayerFsss.js
@@ -1,19 +1,27 @@
 /**
  * 鍖哄煙
  */
-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 LayerFsss = {
   code: 'sewersFsss',
   name: '闄勫睘璁炬柦',
   checked: false, // 榛樿閫変腑鐘舵��
   layers: [
     {
+      code: 'pipeSection',
+      name: '绠℃',
+      sname: '绠℃',
+      checked: false,
+      minZoom: 15,
+      wfs: WFS_URL + '?TYPENAME=绠℃'
+    },
+    {
       code: 'fourlink',
       name: '鍥涢��',
       sname: '鍥涢��',
       checked: true,
-      minZoom: 10,
+      minZoom: 15,
       wfs: WFS_URL + '?TYPENAME=鍥涢��',
       icon: 'sewers/鍥涢��.png'
     },
@@ -22,7 +30,7 @@
       name: '涓夐��',
       sname: '涓夐��',
       checked: false,
-      minZoom: 10,
+      minZoom: 15,
       wfs: WFS_URL + '?TYPENAME=涓夐��',
       icon: 'sewers/涓夐��.png'
     },
@@ -46,22 +54,13 @@
       code: 'pipesegment',
       name: '娴佸悜',
       sname: 'ywslx',
-      wfs: WFS_URL + '?TYPENAME=娴佸悜',
-      checked: false
-    },
-    {
-      code: 'pipeline',
-      name: '绠$綉',
-      minZoom: 10,
-      sname: 'pipeline',
-      wfs: WFS_URL + '?TYPENAME=绠$綉',
       checked: false
     },
     {
       code: 'valve',
       name: '闃�闂�',
       minZoom: 10,
-      sname: 'valve',
+      sname: '闃�闂�',
       checked: false,
       wfs: WFS_URL + '?TYPENAME=闃�闂�',
       icon: 'sewers/闃�闂�.png'
@@ -69,7 +68,7 @@
     {
       code: 'elbow',
       name: '寮ご',
-      sname: 'Elbow',
+      sname: '寮ご',
       minZoom: 10,
       checked: false,
       wfs: WFS_URL + '?TYPENAME=寮ご',

--
Gitblit v1.8.0