felt_create_map | R Documentation |
Create a new map
felt_create_map(
title = NULL,
basemap = NULL,
layer_urls = NULL,
lat = NULL,
lon = NULL,
zoom = NULL
)
title |
Title to use for the map. Defaults to |
basemap |
Basemap for the new map. Defaults to |
layer_urls |
vector of URLs to generate layers in map. Defaults to |
lat |
latitude to center the map. Defaults to |
lon |
longitude to center the map. Defaults to |
zoom |
zoom level to initialize the map with. |
a tibble::tibble for the new map
map <- felt_create_map(title = 'feltr example')
map
# and delete it again
felt_delete_map(map_id = map$id)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.