I would like to change the map which I am using on the following app:
Right now I am working with worldHires, but I would like to use a nicer map (with all the respect), like google maps.
Trying to use RgoogleMaps, I copied the following example for Canada:
library(RgoogleMaps)
lat=c(48,64)
lon=c(-140,-110)
center=c(mean(lat), mean(lon))
zoom=5
terrmap=GetMap(
center=center,
zoom=zoom,
maptype="terrain",
destfile = "terrain.png")
However, I got just a link:
[1] "http://maps.google.com/maps/api/staticmap?
center=56,-125&zoom=5&size=640x640&maptype=terrain&format=png32&sensor=true"
Do you know how can I put it directly on my app?