View source: R/set_map_theme.R
set_map_theme | R Documentation |
Set a map theme using ggplot2::theme_set()
and default for geom_label
using ggplot2::update_geom_defaults()
.
Optionally hides axis text and labels.
set_map_theme(map_theme = NULL, show_axis = FALSE)
map_theme |
ggplot2 theme. Optional. Defaults to |
show_axis |
Logical. If TRUE, keep theme axis formatting. If FALSE, hide the panel grid, axis title, and axis text. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.