Description Usage Arguments Value Author(s) See Also Examples
Adds a line to an existing ggmap object.
1 2 3 |
line |
list. A list with the column lon (numeric) and lat (numeric). |
colour |
character. Colour of the line. |
size |
numeric. Thickness of the line. |
plot |
ggmap. An existing map / plot where the tracks are added. If no plot is provided a Google map will be downloaded. |
zoom |
numeric. Zoom factor of the map. See ggmap::get_googlemap. |
A ggmap object.
Benjamin Ziepert. Please send feedback to: feedback-psyosphere@analyse-gps.com.
plot_map
, plot_tracks
, plot_polygon
1 2 3 4 5 | ## Not run: \dontrun{
finish <- data.frame(lon = c(6.851810,6.851000), lat = c(52.241800,52.240300))
plot_line(finish)
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.