mapWindow: plot ride track data on a map

Description Usage Arguments Details Value

View source: R/mapWindow.R

Description

mapWindow Return a 4-tuple box from tracks and maps

Usage

1
mapWindow(geodf, definedmaps, usemap, margin.factor = 0.05, ...)

Arguments

geodf

data frame or tibble containing at least: position_lat.dd, position_lon.dd

definedmaps

list of name,bounds pairs of maps

usemap

name of map in list of defined maps

margin.factor

percentage to expand map area beyond limits of the track in each direction, when autodetermining region to plot

...

other arguments

Details

Create a 4-tuple rectangle of lons and lats that is a specified map in a list of maps or is a minimal enclosure of the track pts

Value

c(min lon, max lon, min lat, max lat)


CraigMohn/bikeCadHr documentation built on Dec. 3, 2020, 2:31 a.m.