hslayers / hslayers-ng

User interface and map building extensions for OpenLayers
https://ng.hslayers.org/
MIT License
36 stars 20 forks source link

Load WMS with the "ignore extent" option #4863

Closed fzadrazil closed 2 months ago

fzadrazil commented 5 months ago

Feature Request

Is your feature request related to a problem? Please describe. When a layer is loaded from composition or from catalogue, there is no way how to ignore its extent by default. That can lead to clipped symbols on the borders of the extent. It can later be set in layer manager, but user doesn't have to know about that (it can be even an application without sidebar).

image https://geoportal.az/geoserver/fzadrazil_wms/ows

Describe the solution you'd like Have an option to save layer with ignoring extent to map composition. That would require change in the map-composition schema. Possibly set "ignore extent" as default when loading layer from catalogue or map composition?

jmacura commented 5 months ago

This is constantly annoying. As a first step, we might brute-force add a larger extra space around to the calculated bbox.

fzadrazil commented 4 months ago
     "params": {
        "FORMAT": "image/png; mode=8bit",
        "INFO_FORMAT": "application/vnd.ogc.gml",
        "LAYERS": "chargers",
        "STYLES": "",
        "VERSION": "1.3.0",
        "ignoreExtent": true
      },