mapdeck_style: Mapdeck Style

Description Usage Arguments Examples

View source: R/map_styles.R

Description

Various styles available to all Mapbox accounts using a valid access token. Available styles are listed at https://docs.mapbox.com/api/maps/#styles.

Usage

1
2
3
mapdeck_style(
  style = c("dark", "light", "outdoors", "streets", "satellite", "satellite-streets")
)

Arguments

style

one of streets, outdoors, light, dark, satellite, satellite-streets

Examples

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"))

mapdeck documentation built on Sept. 4, 2020, 9:07 a.m.