A recent enhancement to MapStore2 has introduced dynamic WMS legends, which adapt the legend for a WMS layer to the content inside the map viewport.
This changes the previous behavior where legends were static.
Such a change introduces a few problems:
We want to implement an option to revert to the previous behavior.
- The option can be set globally (localConfig) to affect the default behavior for legends.
- It can be overridden for a layer through Layer Settings
In my opinion, the default behavior should be the previous one, since this is what is expected normally, with the option to have dynamic legends.
A recent enhancement to MapStore2 has introduced dynamic WMS legends, which adapt the legend for a WMS layer to the content inside the map viewport.
This changes the previous behavior where legends were static.
Such a change introduces a few problems:
We want to implement an option to revert to the previous behavior.
In my opinion, the default behavior should be the previous one, since this is what is expected normally, with the option to have dynamic legends.