draw-routes.Rd
Helper functions for drawing different routes.
drawRouteSegment(map, segment, drawOptions, type, group, ...) drawWalk(map, segment, drawOptions, group, ...) drawBike(map, segment, drawOptions, group, ...) drawCar(map, segment, drawOptions, group, ...) drawTransit(map, segment, drawOptions, group, ...)
map | A leaflet map. |
---|---|
segment | A route segment object to draw. |
drawOptions | Drawing options provided by |
type | What route type to draw. |
group | The leaflet map group to add the routes to. |
... | Further arguments to pass to leaflet functions. |
The map with the route segment/markers drawn on