From 668e3a93b37b5829009ff0ff1b96b57f6fd5e05d Mon Sep 17 00:00:00 2001 From: wangqi <magical1908@outlook.com> Date: 星期三, 14 四月 2021 10:11:29 +0800 Subject: [PATCH] 開始結束時間 --- src/conf/layers/LayerPk.js | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/conf/layers/LayerPk.js b/src/conf/layers/LayerPk.js index ab13cdf..1975cf8 100644 --- a/src/conf/layers/LayerPk.js +++ b/src/conf/layers/LayerPk.js @@ -1,6 +1,8 @@ /** * 鎺掑彛 */ +import MapConfig from '../../conf/MapConfig' +const WFS_URL = MapConfig.PIPELINE_WFS export const LayerPk = { code: 'sewersPk', name: '鎺掑彛', @@ -11,7 +13,7 @@ name: '鍐呮帓鍙�', sname: '鍐呮帓鍙�', checked: true, - wfs: '?TYPENAME=绠$綉', + wfs: WFS_URL + '?TYPENAME=鍐呮帓鍙�', minZoom: 10 // 鍦ㄦ寚瀹氱骇鍒樉绀� }, { @@ -19,7 +21,7 @@ name: '澶栨帓鍙�', sname: '澶栨帓鍙�', checked: true, // 榛樿閫変腑鐘舵�� - wfs: '?TYPENAME=浜嬫晠姘�', + wfs: WFS_URL + '?TYPENAME=澶栨帓鍙�', minZoom: 10 } ] -- Gitblit v1.8.0