Skip to contents

The viz_save function allows to doawnload the map

Usage

viz_save(map)

Arguments

map

a geoviz object create with the viz_create

Examples

library(sf)
world <- st_read(
  system.file("gpkg/world.gpkg", package = "geoviz"),
  quiet = TRUE
)

viz_create() |>
viz_outline() |>
viz_path(data = world) |>
viz_save()