rleafmap icon indicating copy to clipboard operation
rleafmap copied to clipboard

Rleafmap layerLegend function with the leaflet package

Open GaelCobrenord opened this issue 9 years ago • 1 comments

Hi, Your layerLegend function could be very helpful since the leaflet package provide no way to custom legend. Any chance we can use this function of your package with a leaflet map ? Sorry but I don’t really understand javascript and I have not found any clue to make a custom legend with leaflet and R so far. I would be very greatful if you could help me on this issue (and I think I wouldn’t be the only one!); Gaël

GaelCobrenord avatar Jan 18 '17 08:01 GaelCobrenord

Hi, No there is any chance you can use rleafmap functions in leaflet. Note that leaflet supports legends, but I don't know if you can customize them as you want. https://rstudio.github.io/leaflet/legends.html

fkeck avatar Jan 18 '17 09:01 fkeck