View source: R/map-gtfs-stop.R
map_gtfs_stop | R Documentation |
map a single stop
map_gtfs_stop(gtfs_obj, stop_id, stop_color = NULL)
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 |
Leaflet map object with point plotted at stop lat/long value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.