Producing Google Map Embeds with R Package googleVis

December 1, 2011

(1) for producing html code for a Google Map with R-package googleVis do something like:


df <- data.frame(Address = c("Innsbruck", "Wattens"),
Tip = c("My Location 1", "My Location 2"))
mymap <- gvisMap(df, "Address", "Tip", options = list(showTip = TRUE, mapType = "normal",
enableScrollWheel = TRUE))
plot(mymap) # preview

(2) then just copy-paste the html to your blog or website after customizing for your purpose..

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Tags: , , , ,

Comments are closed.