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

Is there a way to add a legend ? #964

Open
utagawal opened this issue Aug 28, 2023 · 3 comments
Open

Is there a way to add a legend ? #964

utagawal opened this issue Aug 28, 2023 · 3 comments

Comments

@utagawal
Copy link

On the standad implementation of tileserver-gl with maplibre it would be great to have a way to show a button to open an html file with the legend.

The legend-file to open would be specified in the config file.

Is this already possible or could it be considered as new feature ?

@acalcutt
Copy link
Collaborator

Do you mean something similar to what you see when you 'inspect' a data source? the thing on the right side that has the colors for each kind of layer?

image

@utagawal
Copy link
Author

utagawal commented Sep 1, 2023

Yes, exactly !

@utagawal
Copy link
Author

utagawal commented Sep 6, 2023

But with a link to an html file so you don't have to inject any process to parse the Json style file

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

No branches or pull requests

2 participants