From ec4d5c1827487f4c901b69bd9eae58e111e82b32 Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期四, 20 五月 2021 18:05:25 +0800
Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop

---
 src/conf/layers/LayerArea.js |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/src/conf/layers/LayerArea.js b/src/conf/layers/LayerArea.js
index 0ec2ae6..f7afbe5 100644
--- a/src/conf/layers/LayerArea.js
+++ b/src/conf/layers/LayerArea.js
@@ -1,33 +1,38 @@
+import { SERVICE_TYPE } from '../Constants'
+
 /**
  * 鍖哄煙
  */
-import { PIPELINE_WFS } from '../Constants'
-const WFS_URL = PIPELINE_WFS
 export const LayerArea = {
   code: 'sewersArea',
   name: '鍖哄煙淇℃伅',
   checked: false,
+  type: 0,
   layers: [
     {
       code: 'sewersAreaGs',
       name: '鍏徃',
       sname: '鍏徃', // 琛ㄥ悕
       checked: true, // 榛樿閫変腑鐘舵��
-      url: WFS_URL + '?TYPENAME=鍏徃'
+      icon: 'sewers/.png',
+      legendImage: '../.././assets/images/map/company_refining.png'
     },
     {
       code: 'sewersAreaMt',
       name: '鐮佸ご',
       sname: '鐮佸ご',
       checked: false, // 榛樿閫変腑鐘舵��
-      wfs: WFS_URL + '?TYPENAME=鐮佸ご'
+      icon: 'sewers/鐮佸ご.png',
+      legendImage: '../.././assets/images/map/sewers/鐮佸ご.png'
     },
     {
       code: 'sewersAreaZz',
       name: '瑁呯疆鍖�',
       sname: '瑁呯疆鍖�',
+      type: SERVICE_TYPE.WMS,
       checked: false, // 榛樿閫変腑鐘舵��
-      wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�'
+      icon: 'sewers/.png',
+      typeName: 'sewer:unitareaboundary'
     }
   ]
 }

--
Gitblit v1.8.0