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) {