Skip to content

Implement an option to have static WMS legends #11021

@giohappy

Description

@giohappy

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.

Metadata

Metadata

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions