get_ggmap_from_df: Get a ggmap object for a given Activatr DF.

Description Usage Arguments Value

View source: R/map.R

Description

Note that since this calls ggmap::get_googlemap, you must have previously called ggmap::register_google to register an API key.

Usage

1

Arguments

df

A Activatr DF: a tibble from parse_gpx or parse_tcx.

...

Additional arguments to pass to ggmap::get_googlemap.

Value

A ggmap object, the result of calling ggmap::get_googlemap, but with the correct center and size to include the entire data frame.


activatr documentation built on Jan. 15, 2021, 3:36 p.m.