get_vector_tiles.Rd
Retrieve vector tiles from a given Mapbox tileset
get_vector_tiles(tileset_id, location, zoom, access_token = NULL)
The name of the tileset ID; names can be retrieved from your Mapbox account
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.
The zoom level of the request; larger zoom levels will return more detail but will take longer to process.
A Mapbox access token; which can be set with
mb_access_token()
.
A list of sf
objects representing the different layer types found
in the requested vector tiles.