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

Usage

1
2
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 Jan. 22, 2019, 5:04 p.m.