Any object for which raster::extent() can be calculated.
image_source
Source for the overlay image. Valid entries are "mapbox", "mapzen", "stamen".
image_type
The type of overlay to request. "satellite", "mapbox-streets-v8", "mapbox-terrain-v2", "mapbox-traffic-v1", "terrain-rgb", "mapbox-incidents-v1" (mapbox), "dem" (mapzen) or "watercolor", "toner", "toner-background", "toner-lite" (stamen). You can also request a custom Mapbox style by specifying image_source = "mapbox", image_type = "username/mapid"
max_tiles
Maximum number of tiles to be requested by 'slippymath'
api_key
API key (required for 'mapbox')
Value
a rasterBrick with the same dimensions (but not the same resolution) as bounding_box