powered by
Adds a line to an existing ggmap object.
plot_line( line, colour = "", size = 1, plot = "", zoom = -1 )
list. A list with the column lon (numeric) and lat (numeric).
character. Colour of the line.
numeric. Thickness of the line.
ggmap. An existing map / plot where the tracks are added. If no plot is provided a Google map will be downloaded.
numeric. Zoom factor of the map. See ggmap::get_googlemap.
A ggmap object.
plot_map, plot_tracks, plot_polygon
plot_map
plot_tracks
plot_polygon
# NOT RUN { \dontrun{ finish <- data.frame(lon = c(6.851810,6.851000), lat = c(52.241800,52.240300)) plot_line(finish) } # }
Run the code above in your browser using DataLab