get_stadiamap()
accesses a tile server for Stadia Maps and
downloads/stitches map tiles/formats a map image.
get_stadiamap(
bbox = c(left = -95.80204, bottom = 29.38048, right = -94.92313, top = 30.14344),
zoom = 10,
maptype = STADIA_VALID_MAP_TYPES,
crop = TRUE,
messaging = FALSE,
urlonly = FALSE,
color = c("color", "bw"),
force = FALSE,
where = tempdir(),
...
)
a ggmap object (a classed raster object with a bounding box attribute)
a bounding box in the format c(lowerleftlon, lowerleftlat, upperrightlon, upperrightlat).
a zoom level
stamen_terrain, stamen_toner, stamen_toner_lite, stamen_watercolor, stamen_terrain_background, stamen_toner_background, stamen_terrain_lines, stamen_terrain_labels, stamen_toner_lines, stamen_toner_labels.
crop raw map tiles to specified bounding box. if FALSE, the resulting map will more than cover the bounding box specified.
turn messaging on/off
return url only
color or black-and-white (use force = TRUE if you've already downloaded the images)
if the map is on file, should a new map be looked up?
where should the file drawer be located (without terminating "/")
...
https://docs.stadiamaps.com/themes/, ggmap()