mapbox_access_token: Mapbox access token

View source: R/options.R

mapbox_access_tokenR Documentation

Mapbox access token

Description

A mapbox access token is required for rendering the mapbox basemap (regardless of tiles used) and mapbox services (tiles). To use a basemap, you need to register for a mapbox account. Mapbox has a generous free tier.

Each rdeck map rendered equates to a map load for web.

Usage

mapbox_access_token()

Details

The mapbox token is read from the following locations (in order):

  • getOption("rdeck.mapbox_access_token")

  • Sys.getenv("MAPBOX_ACCESS_TOKEN")

  • Sys.getenv("MAPBOX_TOKEN")

See Also

https://docs.mapbox.com/help/glossary/access-token


anthonynorth/rdeck documentation built on Aug. 11, 2024, 1:40 p.m.