From c6c504aeac112db2ee60f9af7a994a04b9fa4ed5 Mon Sep 17 00:00:00 2001 From: 陈泽平 <chenzeping> Date: 星期三, 19 五月 2021 16:05:23 +0800 Subject: [PATCH] 事件上报修改 --- src/conf/layers/LayerFsss.js | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/conf/layers/LayerFsss.js b/src/conf/layers/LayerFsss.js index 6cc183a..e1a6600 100644 --- a/src/conf/layers/LayerFsss.js +++ b/src/conf/layers/LayerFsss.js @@ -1,8 +1,8 @@ /** * 鍖哄煙 */ -import { PIPELINE_WFS, SERVICE_TYPE } from '../Constants' -const WFS_URL = PIPELINE_WFS +import { SERVICE_TYPE } from '../Constants' + export const LayerFsss = { code: 'sewersFsss', name: '闄勫睘璁炬柦', @@ -46,7 +46,8 @@ sname: 'PipeRack', minZoom: 16, type: SERVICE_TYPE.WMS, - typeName: WFS_URL + '?TYPENAME=绠℃灦', + typeName: 'sewer:piperack', + icon: 'sewers/绠℃灦(澧�).png', checked: false }, { @@ -55,7 +56,13 @@ sname: 'PipeGallery', minZoom: 16, type: SERVICE_TYPE.WMS, - typeName: '?TYPENAME=绠″粖', + typeName: 'sewer:pipegallery', + icon: 'sewers/绠″粖.png', + color: '#828282', + styles: { + COLOR: '#828282', + FILL_COLOR: '#828282' + }, checked: false }, { @@ -63,6 +70,7 @@ name: '娴佸悜', sname: 'ywslx', type: SERVICE_TYPE.WMS, + icon: 'sewers/娴佸悜.png', checked: false }, { -- Gitblit v1.8.0