## Not run:
# #show some of the maps available
# nm <- c("osm", "maptoolkit-topo", "mapquest",
# "mapquest-aerial", "bing", "stamen-toner",
# "stamen-watercolor", "esri", "esri-topo",
# "nps", "apple-iphoto", "skobbler")
# par(mfrow=c(3,4))
# #Korea
# for(i in 1:length(nm)){
# map <- openmap(c(43.46886761482925,119.94873046875),
# c(33.22949814144951,133.9892578125),
# minNumTiles=3,type=nm[i])
# plot(map)
# }
#
#
# #plot Korea with ggplot2.
# library(ggplot2)
# map <- openmap(c(43.46886761482925,119.94873046875),
# c(33.22949814144951,133.9892578125),
# minNumTiles=4)
# autoplot(map)
# ## End(Not run)
Run the code above in your browser using DataLab