Methods
-
<inner> getNextStops( db, id, direction, callback )
-
Description
Get the possible next stops from the Route Graph.
This will return a list of all Stops that directly proceed the specified Stop in the specified direction on at least 1 Trip in the GTFS schedule (regardless of the day/time).
Parameters
Name Type Description db
RightTrackDB The Right Track Database to query
id
string Stop ID
direction
int Direction ID
callback
function Callback function
Name Type Attributes Description error
Error Database Query Error
stops
Array.<Stop> <optional> List of possible next Stops
Details