View source: R/custommaptheme.R
custom_map_theme | R Documentation |
Custom theme for ggplot maps
custom_map_theme( google_font = "Roboto", map_title_size = 14, legend_pos = "bottom", legend_dir = "horizontal" )
google_font |
font, from Google Fonts |
map_title_size |
Title's size |
legend_pos |
legend's position (default bottom) |
legend_dir |
legend's direction (defaul horizontal) |
ggplot theme object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.