splashblot / dronedb

Location Intelligence & Data Visualization tool
http://carto.com
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Legend for rasters #103

Open ivanprado opened 6 years ago

ivanprado commented 6 years ago

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 commented 6 years ago

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