mts_list_sources | R Documentation |
List tileset sources in your Mapbox account
mts_list_sources(
username,
sortby = c("created", "modified"),
limit = 100,
start = NULL,
access_token = NULL
)
username |
Your Mapbox username |
sortby |
One of |
limit |
The number of tileset sources to return; defaults to 100. The maximum number of tileset sources returned by this endpoint is 2000. |
start |
The source ID at which to start the list of sources; defaults to |
access_token |
Your Mapbox access token with secret scope. |
A data frame containing information on your tileset sources.
https://docs.mapbox.com/api/maps/mapbox-tiling-service/#create-a-tileset-source
## Not run:
source_list <- mts_list_sources(username = "your_mapbox_username")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.