How do I get a map with in a specific minimum and maximum limits of latitude and longitude using ggmap in R?
I'm new to using ggmap, as of now I was able to implement this:
center <- c(mean(src$longitude),mean(src$latitude))
zoom <- min(MaxZoom(range(src$latitude),range(src$longitude)))
hdf <- get_map(location=center,zoom=zoom)
Help file says location can be mentioned as an address, longitude/latitude pair (in that order), or left/bottom/right/top bounding box. I couldn't find any helpful material on implementing the bounding box for ggmap online.