mts_list_tilesets | R Documentation |
List tilesets in a Mapbox account
mts_list_tilesets(
username,
type = NULL,
visibility = NULL,
sortby = c("created", "modified"),
limit = 100,
start = NULL,
access_token = NULL
)
username |
A Mapbox username |
type |
(optional) Return only |
visibility |
Return only |
sortby |
One of |
limit |
The number of tilesets to return; defaults to 100. The maximum number of tilesets returned by this endpoint is 500. |
start |
The tileset 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 available tilesets in a given Mapbox account.
https://docs.mapbox.com/api/maps/mapbox-tiling-service/#list-tilesets
## Not run:
tileset_list <- mts_list_tilesets(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.