Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for legends #259

Closed
fschmenger opened this issue Sep 8, 2021 · 1 comment · Fixed by #303
Closed

Support for legends #259

fschmenger opened this issue Sep 8, 2021 · 1 comment · Fixed by #303

Comments

@fschmenger
Copy link
Collaborator

There should be some generic support to display legend images in Wegue, so we can have useful annotations for layers.
An example screenshot taken from the geoserver docs:

geoserver_legend_example

I open this issue as a point for discussion, where those legends should be placed, what the scope of legends should be and how a structured implementation may look like.

For a first start, we could associate legends with layers and enhance the mapLayers app-conf definition, e.g.

"mapLayers": [
    {
      "lid": "my-layer",
      "legendUrl": "http://somewhere",
      ....
    }
]

Then we could display the legend images within the LayerList component.

@chrismayer
Copy link
Collaborator

FYI: There is a working project solution for a legend module by @JakobMiksch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants