map a single stop

map_gtfs_stop(gtfs_obj, stop_id, stop_color = NULL)

Arguments

gtfs_obj

A GTFS list object with components agency_df, etc.

stop_id

Character. A single ID for a stop of interest.

stop_color

Character. An R color or hex value. Expects single value or NULL. Default is NULL. If length(stop_color) > 1, then it reverts to stop_color <- stop_color[1]

Value

Leaflet map object with point plotted at stop lat/long value