From ee629193f59c538ce816c25d673f7c4320a74f17 Mon Sep 17 00:00:00 2001
From: 陈泽平 <chenzeping>
Date: 星期四, 20 五月 2021 16:29:03 +0800
Subject: [PATCH] 管线 应急修改

---
 src/components/LayerController/service/WmsLayerService.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/components/LayerController/service/WmsLayerService.js b/src/components/LayerController/service/WmsLayerService.js
index 4706862..b64e539 100644
--- a/src/components/LayerController/service/WmsLayerService.js
+++ b/src/components/LayerController/service/WmsLayerService.js
@@ -19,6 +19,7 @@
       INFO_FORMAT: 'application/json',
       TRANSPARENT: true,
       FEATURE_COUNT: 50,
+      maxZoom: 21,
       SRS: 'EPSG:4326',
       EXCEPTIONS: 'application/vnd.ogc.se_inimage'
     }
@@ -64,6 +65,7 @@
     const params = {
       format: 'image/png', // 杩斿洖鐨勬暟鎹牸寮�
       transparent: true,
+      maxZoom: 21,
       BBOX: this.map.getBounds().toBBoxString()
     }
     if (layers) {

--
Gitblit v1.8.0