From b3ad6bfdc52f880a8efc79ece6acae12229d4198 Mon Sep 17 00:00:00 2001
From: chenyabin <Chenab123!>
Date: 星期四, 13 五月 2021 15:10:30 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/develop' into develop

---
 src/conf/layers/LayerPk.js |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/src/conf/layers/LayerPk.js b/src/conf/layers/LayerPk.js
index 1975cf8..b1b95be 100644
--- a/src/conf/layers/LayerPk.js
+++ b/src/conf/layers/LayerPk.js
@@ -1,27 +1,33 @@
+import { SERVICE_TYPE } from '../Constants'
+
 /**
  * 鎺掑彛
  */
-import MapConfig from '../../conf/MapConfig'
-const WFS_URL = MapConfig.PIPELINE_WFS
 export const LayerPk = {
-  code: 'sewersPk',
-  name: '鎺掑彛',
+  code: 'sewersDischargeport',
+  name: '鎺掓斁鍙�',
+  icon: 'sewers/闆ㄦ按鎺掑彛.png',
   checked: true,
+  type: 0,
   layers: [
     {
       code: 'sewersNpk',
       name: '鍐呮帓鍙�',
       sname: '鍐呮帓鍙�',
       checked: true,
-      wfs: WFS_URL + '?TYPENAME=鍐呮帓鍙�',
+      type: SERVICE_TYPE.WMS,
+      icon: 'sewers/闆ㄦ按鎺掑彛.png',
+      typeName: 'sewer:dischargeport',
       minZoom: 10 // 鍦ㄦ寚瀹氱骇鍒樉绀�
     },
     {
       code: 'sewersWpk',
       name: '澶栨帓鍙�',
       sname: '澶栨帓鍙�',
+      icon: 'sewers/闆ㄦ按鎺掑彛.png',
       checked: true, // 榛樿閫変腑鐘舵��
-      wfs: WFS_URL + '?TYPENAME=澶栨帓鍙�',
+      type: SERVICE_TYPE.WMS,
+      typeName: 'sewer:dischargeport',
       minZoom: 10
     }
   ]

--
Gitblit v1.8.0