From 0e58385d0deafd7a7f45fbfd801d39703f230f2f Mon Sep 17 00:00:00 2001
From: chenzeping <ChenZeping02609@163.com>
Date: 星期日, 18 四月 2021 22:49:51 +0800
Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop

---
 src/components/LayerController/service/WfsLayerService.js |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/components/LayerController/service/WfsLayerService.js b/src/components/LayerController/service/WfsLayerService.js
index f00eaeb..e1bd4a5 100644
--- a/src/components/LayerController/service/WfsLayerService.js
+++ b/src/components/LayerController/service/WfsLayerService.js
@@ -10,8 +10,8 @@
     this.params = {
       version: '1.0.0',
       REQUEST: 'getfeature',
-      OUTPUTFORMAT: 'json',
-      maxFeatures: 20000
+      OUTPUTFORMAT: 'json'
+      // maxFeatures: 20000
     }
     this.popupComp = window.popupComp
     this.L = window.L
@@ -35,6 +35,8 @@
 
   draw (features) {
     const icon = this.config.icon
+    const styles = this.config.styles
+    Object.assign(STYLES, styles)
     const geojsonLayer = this.L.geoJSON(features, {
       style: function (feature) {
         return {

--
Gitblit v1.8.0