leaflet_route: Plot routes for training sessions

View source: R/trackeRdata_plot.R

leaflet_routeR Documentation

Plot routes for training sessions

Description

Plot the route ran/cycled during training on an interactive map. Internet connection is required to download the background map. Icons are by Maps Icons Collection https://mapicons.mapsmarker.com

Usage

leaflet_route(x, session = NULL, threshold = TRUE, ...)

leafletRoute(x, session = NULL, threshold = TRUE, ...)

Arguments

x

A object of class trackeRdata.

session

A numeric vector of the sessions to be plotted. Defaults to all sessions.

threshold

Logical. Should thresholds be applied?

...

Additional arguments passed on to threshold.

Examples

## Not run: 
data('runs', package = 'trackeR')
leafletRoute(runs, session = 23:24)

## End(Not run)

trackeR documentation built on May 29, 2024, 5:04 a.m.