ggmap icon indicating copy to clipboard operation
ggmap copied to clipboard

source=="osm" requires google key if bbox not specified

Open akatie opened this issue 7 years ago • 2 comments

code that requires google even for source=="osm"

if (source == "osm") {
    if (location_type != "bbox") {
      gm <- get_googlemap(center = location, zoom = zoom, 
        filename = filename)
      location <- as.numeric(attr(gm, "bb"))[c(2, 1, 4, 
        3)]
    }
    return(get_openstreetmap(bbox = location, scale = scale, 
      messaging = messaging, urlonly = urlonly, filename = filename, 
      color = color))
  }

akatie avatar Oct 03 '18 13:10 akatie

Does this still matter? (I thought I'd taken OSM out because the endpoint would always deny.)

dkahle avatar Oct 03 '18 13:10 dkahle

The same issue applies to stamen and cloudmade

bhogan-mitre avatar Oct 09 '18 12:10 bhogan-mitre