View source: R/set_access_token.R
set_access_token | R Documentation |
Based on the mapboxapi::mb_access_token function from the mapboxapi package by Kyle Walker.
set_access_token(token, overwrite = FALSE, install = FALSE, type = NULL) get_access_token(token = NULL, type = NULL)
token |
An access token or API key; required for |
overwrite |
If |
install |
If |
type |
Name of token; defaults to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.