tmap
tmap copied to clipboard
New feature to have Stacked or nested bubbles sizes on legend when plotting bubbles in tmap
Hello. I enjoy using tmap for plotting bubbles over polygons of various interval sizes. However, the legend gets too long or too wide when plotted with tm_bubbles. Is there a way to have a legend that nests the bubbles and assigns labels without occupying space? This is important when plotting several map layers at the same time. This is an example of what it looks like for now:
Here are some examples of the style I mean:
Thanks for this feature request. We'll have to implement this in plot mode as new type of legend (will take me half a day). I've seen a leaflet add-on that does this, which we can use for the view mode. Do you know this, @tomroh?
This has low priority for me, because first we'll have to make v4 CRAN ready.
I haven't seen this before, but I should be able to implement this feature.
Creating a new issue for leaflegend at https://github.com/tomroh/leaflegend/issues/76
This has been implemented on the github version of leaflegend and will be published to CRAN for the next release. See https://github.com/tomroh/leaflegend/issues/76.
This has been implemented on the github version of leaflegend and will be published to CRAN for the next release. See tomroh/leaflegend#76.
It looks great @tomroh . I know @mtennekes said it can't be implemented now for tmap V4 but it is a good one to have in the future.