From 2eb68ceaeac0d455cfe778465367421a27970129 Mon Sep 17 00:00:00 2001 From: ChenZeping02609 <chenzeping02609@163.com> Date: 星期四, 13 五月 2021 14:51:41 +0800 Subject: [PATCH] 企业应急 --- 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 5547507..b1b95be 100644 --- a/src/conf/layers/LayerPk.js +++ b/src/conf/layers/LayerPk.js @@ -1,27 +1,33 @@ +import { SERVICE_TYPE } from '../Constants' + /** * 鎺掑彛 */ -import { PIPELINE_WFS } from '../Constants' -const WFS_URL = 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