View source: R/custommapthememd.R
custom_map_theme_md | R Documentation |
Custom theme for ggplot maps, using ggtext for markdown text
custom_map_theme_md( google_font = "Roboto", map_title_size = 14, map_subtitle_size = 12, map_caption_size = 9, legend_pos = "none", legend_dir = "horizontal", title_pos = "plot", background_colour = "white", plot_margin = c(3, 0, 1, 0) )
google_font |
font, from Google Fonts |
map_title_size |
Title's size |
map_subtitle_size |
Subtitle's size |
map_caption_size |
Caption's size |
legend_pos |
legend's position (default none) |
legend_dir |
legend's direction (defaul horizontal) |
title_pos |
title's position (default plot) |
background_colour |
background's overall colour (default white) |
plot_margin |
margins c(top,right,bottom,left) - default c(3,0,1,0) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.