set_mapbox_token | R Documentation |
Set a mapbox token for use with the ms_generate_map function.
set_mapbox_token(token)
token |
Personal mapbox API token, obtained from https://docs.mapbox.com/api/#access-tokens-and-token-scopes. |
TRUE
if the token was able to be set; otherwise FALSE
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.