From f0cfb0ed35b9001b4b8f766636fd17ab31e911b8 Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期四, 13 五月 2021 14:40:29 +0800
Subject: [PATCH] 添加板块图层

---
 src/conf/layers/LayerPlate.js |   70 +++++++++++++++++++++++++++++++++++
 src/conf/MapConfig.js         |    3 +
 2 files changed, 72 insertions(+), 1 deletions(-)

diff --git a/src/conf/MapConfig.js b/src/conf/MapConfig.js
index 9004cc8..d41d182 100644
--- a/src/conf/MapConfig.js
+++ b/src/conf/MapConfig.js
@@ -3,6 +3,7 @@
 import { LayerTopic } from './LayerTopic'
 import { LayerBasin } from './layers/LayerBasin'
 import { LayerEmergency } from './LayerEmergency'
+import { LayerPlate } from './layers/LayerPlate'
 
 const curWwwPath = window.document.location.href
 const pathname = window.document.location.pathname
@@ -42,7 +43,7 @@
   IntranetBaseMaps: TDT.intranet,
   InternetBaseMaps: TDT.internet,
   Layers: {
-    LayerSewersLine: [LayerBasin, LayerTopic, LayerEmergency]
+    LayerSewersLine: [LayerBasin, LayerPlate, LayerTopic, LayerEmergency]
   } // 姹¢洦姘村浘灞傞厤缃�
 }
 
diff --git a/src/conf/layers/LayerPlate.js b/src/conf/layers/LayerPlate.js
new file mode 100644
index 0000000..eb3b404
--- /dev/null
+++ b/src/conf/layers/LayerPlate.js
@@ -0,0 +1,70 @@
+/**
+ * 鏉垮潡
+ */
+import { PIPELINE_WFS } from '../Constants'
+const WFS_URL = PIPELINE_WFS
+export const LayerPlate = {
+  code: 'sewersPlate',
+  name: '鏉垮潡鍥惧眰',
+  checked: true,
+  isShow: true,
+  type: 2,
+  layers: [
+    {
+      code: 'plateYt',
+      name: '娌圭敯',
+      sname: '娌圭敯', // 琛ㄥ悕
+      checked: true, // 榛樿閫変腑鐘舵��
+      type: 2,
+      url: WFS_URL + '?TYPENAME=鍏徃'
+    },
+    {
+      code: 'plateLh',
+      name: '鐐煎寲',
+      sname: '鐐煎寲',
+      checked: true, // 榛樿閫変腑鐘舵��
+      type: 2,
+      wfs: WFS_URL + '?TYPENAME=鐮佸ご'
+    },
+    {
+      code: 'plateXs',
+      name: '閿�鍞�',
+      sname: '閿�鍞�',
+      checked: true, // 榛樿閫変腑鐘舵��
+      type: 2,
+      wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�'
+    },
+    {
+      code: 'plateHg',
+      name: '鍖栧伐',
+      sname: '鍖栧伐',
+      checked: true, // 榛樿閫変腑鐘舵��
+      type: 2,
+      wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�'
+    },
+    {
+      code: 'plateZy',
+      name: '涓撲笟鍏徃',
+      sname: '涓撲笟鍏徃绉戠爺鏈烘瀯',
+      checked: true, // 榛樿閫変腑鐘舵��
+      type: 2,
+      wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�'
+    },
+    {
+      code: 'plateKyjg',
+      name: '绉戠爺鏈烘瀯',
+      sname: '绉戠爺鏈烘瀯',
+      checked: true, // 榛樿閫変腑鐘舵��
+      type: 2,
+      wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�'
+    },
+    {
+      code: 'plateGcdw',
+      name: '宸ョ▼鍗曚綅',
+      sname: '宸ョ▼鍗曚綅',
+      checked: true, // 榛樿閫変腑鐘舵��
+      type: 2,
+      wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�'
+    }
+  ]
+}

--
Gitblit v1.8.0