Instantly share code, notes, and snippets.

Embed
What would you like to do?
bikemap.R
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)
@buiduongthe

This comment has been minimized.

Copy link

buiduongthe commented Aug 23, 2017

Dear mollietaylor

out.csv? Exame

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment