segment_map: Create a Leaflet map with radius + circle markers

Description Usage Arguments Author(s)

Description

Create a map of a certain location. It is surrounded by a ring in a certain radius. Additionally for each segment of segment_data a point will be created with the link to the STRAVA segment

Usage

1
2
3
segment_map(segment_data = data.frame(id = character(0), lat = 0, long =
  0, name = character(0)), radius = 2000, marker_list = data.frame(lon
  = 0, lat = 45), zoom = 4)

Arguments

segment_data

data.frame DF with cols lng, lat, name, id for each segment

radius

numeric in meter

marker_list

numeric center of the map containing lon and lat variable

zoom

numeric leaflet zoom

Author(s)

Sebastian Wolf


zappingseb/stravachaser documentation built on May 31, 2019, 5:38 a.m.