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

Legend for rasters #103

Open
ivanprado opened this issue Jan 5, 2018 · 1 comment
Open

Legend for rasters #103

ivanprado opened this issue Jan 5, 2018 · 1 comment

Comments

@ivanprado
Copy link

Add the possibility to add a legend to each raster.

Probably using the existing placeholder for legends that is not being used currently for rasters.

Another idea would it be to create some kind of json definition for legends that could be used by the user to define the legend similarly as it can use cartocss for defining style.

@ivanprado
Copy link
Author

Latest carto synch introduced the ability to create custom legends. This issue should focus on enabling that feature for raster layers.

Meanwhile as workaround legends can be introduced for maps with rasters just by adding a new layer with a transparent point and creating the legend into that layer. For example:

image

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

No branches or pull requests

1 participant