get_style | R Documentation |
See the Mapbox Styles API documentation for more information.
get_style(style_id, username, style_url = NULL, access_token = NULL)
list_styles(username, access_token = NULL)
style_id |
A style ID |
username |
A Mapbox username |
style_url |
A Mapbox style URL |
access_token |
A Mapbox public or secret access token; set with
|
get_style returns a list of information about your selected style. list_styles returns a data frame of information about styles from a Mapbox account
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.