dkahle / ggmap

A package for plotting maps in R with ggplot2
763 stars 231 forks source link

"filename" parameter doesn't do anything in get_map / get_googlemap #346

Open SimonDedman opened 1 year ago

SimonDedman commented 1 year ago
myMap <- ggmap::get_map(
location = c(-64.726720, 32.348871),
zoom = 16,
mesaging = TRUE,
source = "google",
maptype = "satellite",
crop = TRUE,
filename = "anylocation")
ggmap::ggmap(myMap)

I find that entering a location for filename doesn't cause the files to be downloaded to this location, they're still saved to /var (in my friends mac setup, and feasibly also in my linux setup but mine works and hers doesn't so I don't get an error message to confirm on mine).

Can anyone confirm this?