| | |
| | | var size = this.map.getSize() |
| | | // const bbox = this.L.latLngBounds(this.L.latLng(e.latlng.lng, e.latlng.lat)).toBBoxString() |
| | | const layers = this.wmsLayerList.getLayers() |
| | | const filter = this.wmsLayerList.getFilters() |
| | | if (layers.length > 0) { |
| | | const params = Object.assign({ |
| | | LAYERS: layers, |
| | |
| | | Y: Math.round(point.y), |
| | | BBOX: this.map.getBounds().toBBoxString() |
| | | }, this.params) |
| | | if (filter.length > 0) { |
| | | params.cql_filter = filter |
| | | } |
| | | AjaxUtils.get4JsonDataByUrl(WMS_URL, params, (res) => { |
| | | const features = res.data.features |
| | | /** |