get_mapbox_vector_tiles.Rd
expects mapzen API key being available as MAPBOX_PUBLIC_TOKEN environment variable
get_mapbox_vector_tiles(
bbox,
tileset_id = "mapbox.mapbox-streets-v8",
zoom = NULL,
max_tiles = 9,
refresh = FALSE
)
bounding box for which to get vector tile data
Mapbox tileset ID, default is "mapbox.mapbox-streets-v8"
optional, zoom level for tiles
Maximum number of tiles to query, overrides desired zoom level.
results are cached for current session, optionally refresh cache
a list of layers with vector tile data