Re: [R] Creating World Map with Points

2015-09-29 Thread Giorgio Garziano
I had to update low/up longitude and latitude attributes of the zoom=1 map with those of zoom=2 map. library(ggmap) # the zoom=2 map works with ggmap(), however it does not show Americas and all Pacific Ocean map <- get_map(location = 'India', zoom=2) bb <- attr(map, "bb") bb # the zoom=1

[R] Creating World Map with Points

2015-09-28 Thread Lorenzo Isella
Dear All, Please have a look at the snippet at the end of the email. Essentially, I am trying to combine google maps with ggplot2. The idea is to simply plot some points, whose size depend on a scalar, on a google map. My question is how I can extend the map in the snippet below in order to plot