I am running the following Code:
map <- get_map(location = 'India', zoom = 4)
But getting following error:
Source : https://maps.googleapis.com/maps/api/staticmap?center=India&zoom=4&size=640x640&scale=2&maptype=terrain&language=en-EN&key=XXXXXX Error in aperm.default(map, c(2, 1, 3)) : invalid first argument, must be an array
In addition: Warning message:
In get_googlemap(center = location, zoom = zoom, maptype = maptype, : HTTP 400 Bad Request