From 083edcbf38fb2c784ad21335633d576e3586b9b9 Mon Sep 17 00:00:00 2001 From: wangqi <magical1908@outlook.com> Date: 星期三, 14 四月 2021 20:02:25 +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..5547507 100644 --- a/src/conf/layers/LayerPk.js +++ b/src/conf/layers/LayerPk.js @@ -1,6 +1,8 @@ /** * 鎺掑彛 */ +import { PIPELINE_WFS } from '../Constants' +const WFS_URL = 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