From e8bcc8ff69702b8c2ba123981a45e668cf95a01b Mon Sep 17 00:00:00 2001
From: wangrui <zephyrs0894@163.com>
Date: 星期五, 25 十二月 2020 16:17:35 +0800
Subject: [PATCH] 图层控制

---
 src/conf/MapConfig.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/conf/MapConfig.js b/src/conf/MapConfig.js
index 4dd9d7b..7611aec 100644
--- a/src/conf/MapConfig.js
+++ b/src/conf/MapConfig.js
@@ -206,7 +206,8 @@
             icon_deactived: '',
             type:'wmts',
             url: APP_GIS_HOST + '/server/ogcserver/whp_guojie/wmts?x={x}&y={y}&z={z}',
-            inLegend: false,
+            inLegend: true,
+            checked: true,
             option:{
                 zoomOffset: 1
             }
@@ -219,6 +220,7 @@
             type:'wms',
             url: APP_GIS_HOST_PIPELINE + '/server/ogcserver/PipeLine/wms?version=1.1.1',
             inLegend: true,
+            checked: true,
             option:{
                 layers:'all',
                 styles:'', // Comma-separated list of WMS styles.

--
Gitblit v1.8.0