Description Usage Arguments Value Examples
View source: R/map_indicator.R
Generate a ggplot2 legend for a BCU indicator map. The ggplot2 legend is more flexible than the tmap legend, so a ggplot2 legend is produced for every map from map_indicator
.
1 | generate_map_legend(indicator)
|
indicator |
Indicator being mapped |
A ggplot2 object
1 | generate_map_legend("grav_NC")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.