Retrieve vector tiles from a given Mapbox tileset
Arguments
- tileset_id
The name of the tileset ID; names can be retrieved from your Mapbox account
- location
The location for which you'd like to retrieve tiles. If the input is an
sf
object, the function will return data for all tiles that intersect the object's bounding box. If the input is a coordinate pair or an address, data will be returned for the specific tile that contains the input.- zoom
The zoom level of the request; larger zoom levels will return more detail but will take longer to process.
- access_token
A Mapbox access token; which can be set with
mb_access_token()
.