The viz_render function allows to display the map
Arguments
- map
A
geovizrmap object created usingviz_create().
Examples
library(sf)
world <- st_read(
system.file("gpkg/world.gpkg", package = "geovizr"),
quiet = TRUE
)
viz_create() |>
viz_outline() |>
viz_path(data = world) |>
viz_render()