派生自 wuyushui/SewerAndRainNetwork

徐旺旺
2021-04-18 684703a4dcaca924183442e1325de39df616abdc
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 {