Description Usage Arguments Examples
Various styles available to all Mapbox accounts using a valid access token. Available styles are listed at https://docs.mapbox.com/api/maps/#styles.
1 2 3 | mapdeck_style(
style = c("dark", "light", "outdoors", "streets", "satellite", "satellite-streets")
)
|
style |
one of streets, outdoors, light, dark, satellite, satellite-streets |
1 2 3 4 5 | ## You need a valid access token from Mapbox
key <- 'abc'
## set a map style
mapdeck(token = key, style = mapdeck_style("dark"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.