Applies a geographic projection. Uses ggplot2::coord_sf() by default
(for simple features), or ggplot2::coord_map() when a projection
string is provided (requires mapproj).
Examples
if (FALSE) { # \dontrun{
# requires the sf package
nc <- sf::st_read(system.file("shape/nc.shp", package = "sf"), quiet = TRUE)
plotit(nc, encode()) |> project_map()
} # }