From d838248f54e3bcacf9c2a54f7dc692525af3c051 Mon Sep 17 00:00:00 2001 From: wangqi <magical1908@outlook.com> Date: 星期三, 14 四月 2021 10:04:38 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/develop' into develop --- 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