Skip to contents

Set a map theme using ggplot2::theme_set() and default for geom_label using ggplot2::update_geom_defaults(). Optionally hides axis text and labels.

Usage

set_map_theme(map_theme = NULL, show_axis = FALSE)

Arguments

map_theme

ggplot2 theme. Optional. Defaults to ggplot2::theme_minimal()

show_axis

Logical. If TRUE, keep theme axis formatting. If FALSE, hide the panel grid, axis title, and axis text.