| assign_mode | R Documentation |
Selects the transport modes used in the routing functions. Only one direct and access/egress modes are allowed at a time.
assign_mode(mode, mode_egress, style)
mode |
A character vector, passed from routing functions. |
mode_egress |
A character vector, passed from routing functions. |
A list with the transport modes to be used in the routing.
Other assigning functions:
assign_decay_function(),
assign_departure(),
assign_drop_geometry(),
assign_max_street_time(),
assign_max_trip_duration(),
assign_opportunities(),
assign_osm_link_ids(),
assign_points_input(),
assign_shortest_path()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.