Learn R Programming

psyosphere (version 0.1.6)

plot_map: Get a Google map

Description

Get a Google map that fits to the tracks that are provided in psyo format.

Usage

plot_map(
  tracks, zoom = -1, maptype = "terrain", extent = "panel"
)

Arguments

tracks

psyo. Data frame with tracks.

zoom

numeric. Zoom level. -1 for auto zoom or from 3 (continent) to 21 (building). See also ggmap::get_map.

maptype

character. See ggmap::get_googlemap.

extent

character. See ggmap::ggmap.

Value

A ggmap object.

See Also

plot_line, plot_tracks, plot_polygon

Examples

Run this code
# NOT RUN {
\dontrun{
data(psyo)
plot_map(psyo)
}
# }

Run the code above in your browser using DataLab