dkahle / ggmap

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

value of messaging is ignored with get_stamenmap #274

Closed ikosmidis closed 5 years ago

ikosmidis commented 5 years ago
reprex::reprex({
    library(ggmap)
   map <- get_stamenmap(c(left = -97.12, bottom = 31.53, right = -97.09, top = 31.50), maptype = "toner", zoom = 15, messaging = FALSE)
}, si = TRUE)

That seems to be from ggmap:::get_stamenmap_tile where message statements are floating in the function without a condition.

dkahle commented 5 years ago

Thanks for the note. Stamen doesn't appear to require me to push the URL out to the user, so I'll change messaging to affect that URL. I am also including an attribution note from their webpage for every call to get_stamenmap().