General mapping function. Specify a map type and/or a route id.
map_gtfs(gtfs_obj, route_ids = NULL, service_ids = NULL, shape_ids = NULL, agency_name = NULL, include_stops = TRUE, only_stops = FALSE, stop_details = FALSE, stop_opacity = 0.5, route_opacity = 0.75, route_colors = NULL)
A GTFS list object with components agency_df, etc.
Vector (Character). IDs for routes of interest.
Vector (Character). Service IDs. NULL by Default.
Vector (Character). Shape IDs. NULL by Default.
Character. Provide the name of the agency whose routes are being mapped.
Boolean. Whether to layer on stops to the route shape. Default is TRUE.
Boolean. Whether to map only stops, no routes. Overrides
Boolean. Whether to generate detail stop information. Default is FALSE.
Numeric. Value must be between 0 and 1. Defaults is 0.5.
Numeric. Value must be between 0 and 1. Default is .75.
Character. Names of colors (e.g. "blue") or hex values (e.g. '#000000'). Default is NULL.
Leaflet map object with all stop lat/long values plotted for a route.