Save a GeoLibre project
Arguments
- map
A GeoLibre widget or project list.
- path
Output path, conventionally ending in
.geolibre.json.- keep_credentials
Keep credential-bearing configuration such as layer request headers and signed URLs. Defaults to
FALSE, so a saved project is safe to commit or share. Seeredact_credentials().
Examples
path <- tempfile(fileext = ".geolibre.json")
save_project(geolibre(), path)
project <- load_project(path)
stopifnot(project$name == "Untitled Project")