createRoutePopup: Create Route Popups
Description
Function for constructing popups on routes.
Usage
createRoutePopup(data, transit = FALSE, startEnd = transit)
Arguments
data
The route data from which to create the popup.
transit
Whether this is a transit route.
startEnd
Whether to show information on the start and end points.
Value
A HTML string for the route segment popup