rleafmap
rleafmap copied to clipboard
Rleafmap layerLegend function with the leaflet package
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
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