From 3140ec8fc9ac7d7fce42ee2d3ef222323a1c05ff Mon Sep 17 00:00:00 2001
From: chenyabin <Chenab123!>
Date: 星期五, 23 四月 2021 11:19:04 +0800
Subject: [PATCH] 修改滚动条
---
src/conf/layers/LayerArea.js | 23 ++++++++++++-----------
1 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/src/conf/layers/LayerArea.js b/src/conf/layers/LayerArea.js
index b4dd2b9..b16cf81 100644
--- a/src/conf/layers/LayerArea.js
+++ b/src/conf/layers/LayerArea.js
@@ -1,36 +1,37 @@
/**
* 鍖哄煙
*/
+import { PIPELINE_WFS } from '../Constants'
+const WFS_URL = PIPELINE_WFS
export const LayerArea = {
code: 'sewersArea',
name: '鍖哄煙淇℃伅',
- checked: true,
+ checked: false,
+ type: 0,
layers: [
{
code: 'sewersAreaGs',
name: '鍏徃',
sname: '鍏徃', // 琛ㄥ悕
checked: true, // 榛樿閫変腑鐘舵��
- url: '?TYPENAME=绠$綉',
- minZoom: 10, // 鍦ㄦ寚瀹氱骇鍒樉绀�
- childLayer: 'fsss,hbss' // 鍏宠仈PointLayers
+ type: 0,
+ url: WFS_URL + '?TYPENAME=鍏徃'
},
{
code: 'sewersAreaMt',
name: '鐮佸ご',
sname: '鐮佸ご',
- checked: true, // 榛樿閫変腑鐘舵��
- wfs: '?TYPENAME=鍚补姹℃按',
- minZoom: 10,
- childLayer: 'fsss,hbss' // 鍏宠仈PointLayers
+ checked: false, // 榛樿閫変腑鐘舵��
+ type: 0,
+ wfs: WFS_URL + '?TYPENAME=鐮佸ご'
},
{
code: 'sewersAreaZz',
name: '瑁呯疆鍖�',
sname: '瑁呯疆鍖�',
- checked: true, // 榛樿閫変腑鐘舵��
- wfs: '?TYPENAME=鍚洂姹℃按',
- minZoom: 10
+ checked: false, // 榛樿閫変腑鐘舵��
+ type: 0,
+ wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�'
}
]
}
--
Gitblit v1.8.0