Created
December 5, 2012 00:27
-
-
Save mollietaylor/4210660 to your computer and use it in GitHub Desktop.
bikemap.R
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gps <- read.csv("out.csv", | |
header = TRUE) | |
library(ggmap) | |
mapImageData <- get_googlemap(center = c(lon = median(gps$Longitude), lat = median(gps$Latitude)), | |
zoom = 11, | |
# size = c(500, 500), | |
maptype = c("terrain")) | |
ggmap(mapImageData, | |
extent = "device") + # takes out axes, etc. | |
geom_point(aes(x = Longitude, | |
y = Latitude), | |
data = gps, | |
colour = "red", | |
size = 1, | |
pch = 20) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dear mollietaylor
out.csv? Exame
thanks