From d7c50f6207f0f27f4c20aa96f75b7c0b610b2b23 Mon Sep 17 00:00:00 2001
From: 陈泽平 <chenzeping>
Date: 星期四, 20 五月 2021 11:06:54 +0800
Subject: [PATCH] 管线弹框分析修改

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

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

--
Gitblit v1.8.0