Create a new map
Usage
felt_create_map(
title = NULL,
basemap = NULL,
layer_urls = NULL,
lat = NULL,
lon = NULL,
zoom = NULL
)
Arguments
- title
Title to use for the map. Defaults to
NULL
.- basemap
Basemap for the new map. Defaults to
NULL
. Can be a URL or color hex code- layer_urls
vector of URLs to generate layers in map. Defaults to
NULL
.- lat
latitude to center the map. Defaults to
NULL
.- lon
longitude to center the map. Defaults to
NULL
- zoom
zoom level to initialize the map with.
Value
a tibble::tibble for the new map
Examples
if (FALSE) { # has_felt_key()
map <- felt_create_map(title = 'feltr example')
map
# and delete it again
felt_delete_map(map_id = map$id)
}