From 4df0471b7dff0494625ff09969b1a13b5359a26e Mon Sep 17 00:00:00 2001 From: XingChuan <m17600301067@163.com> Date: 星期一, 31 五月 2021 22:41:47 +0800 Subject: [PATCH] 统计表弹框UI优化;增加点击企业名称缩放至企业;二级表展示功能优化。 --- src/conf/layers/LayerArea.js | 27 ++++++++++++++------------- 1 files changed, 14 insertions(+), 13 deletions(-) diff --git a/src/conf/layers/LayerArea.js b/src/conf/layers/LayerArea.js index 4365756..a6b0837 100644 --- a/src/conf/layers/LayerArea.js +++ b/src/conf/layers/LayerArea.js @@ -1,38 +1,39 @@ +import { SERVICE_TYPE } from '../Constants' + /** * 鍖哄煙 */ -const APP_GIS_HOST_2 = 'http://xearth.cn:8088' -const WFS_URL = APP_GIS_HOST_2 + '/server/ogcserver/PipeLine/wfs' export const LayerArea = { code: 'sewersArea', name: '鍖哄煙淇℃伅', - checked: true, + checked: false, + type: 0, layers: [ { code: 'sewersAreaGs', name: '鍏徃', sname: '鍏徃', // 琛ㄥ悕 checked: true, // 榛樿閫変腑鐘舵�� - url: WFS_URL + '?TYPENAME=鍏徃', - minZoom: 10, // 鍦ㄦ寚瀹氱骇鍒樉绀� - childLayer: 'fsss,hbss' // 鍏宠仈PointLayers + icon: 'sewers/.png', + legendImage: '../.././assets/images/map/company_refining.png' }, { code: 'sewersAreaMt', name: '鐮佸ご', sname: '鐮佸ご', - checked: true, // 榛樿閫変腑鐘舵�� - wfs: WFS_URL + '?TYPENAME=鐮佸ご', - minZoom: 10, - childLayer: 'fsss,hbss' // 鍏宠仈PointLayers + checked: false, // 榛樿閫変腑鐘舵�� + icon: 'sewers/鐮佸ご.png', + legendImage: '../.././assets/images/map/sewers/鐮佸ご.png' }, { code: 'sewersAreaZz', name: '瑁呯疆鍖�', sname: '瑁呯疆鍖�', - checked: true, // 榛樿閫変腑鐘舵�� - wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�', - minZoom: 10 + type: SERVICE_TYPE.WMS, + checked: false, // 榛樿閫変腑鐘舵�� + icon: 'sewers/.png', + index: 1, + typeName: 'sewer:unitareaboundary' } ] } -- Gitblit v1.8.0