mapdeck_style: Mapdeck Style

View source: R/map_styles.R

mapdeck_styleR Documentation

Mapdeck Style

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

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

Arguments

style

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

Examples



## 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 Nov. 29, 2025, 5:08 p.m.