Members
-
id :string
-
Description
The unique ID representing the Stop
Details
-
name :string
-
Description
The name of the Stop
Details
-
lat :number
-
Description
The latitude of the Stop (WGS 84)
Details
-
lon :number
-
Description
The longitude of the Stop (WGS 84)
Details
-
code :string
-
Description
Stop Code - short text or number that can publicly be used to identify the Stop
Details
-
description :string
-
Description
A description of the Stop
Details
-
zoneId :string
-
Description
The fare zone of the Stop (used by the fare rules table)
Details
-
url :string
-
Description
The fully-qualified, escaped URL of the Stop's web page
Details
-
locationType :int
-
Description
Stop location type (stop, station, or station entrance/exit)
Details
-
parentStation :string
-
Description
Stop ID of Parent Station
Details
-
timezone :string
-
Description
The timezone code for the Stop
Details
-
wheelchairBoarding :Number
-
Description
Value indicating whether wheelchair boardings are possible for the Stop
Details
-
statusId :string
-
Description
The Stop's ID used for real-time status information
Details
-
transferWeight :Number
-
Description
A value indicating the Stop's likely transfer-availability. A Stop with a higher transfer weight will likely be more suitable as a transfer Stop than one with a lower transfer weight.
Details
-
distance :undefined|number
-
Description
The distance (in miles) from the location set by setDistance()
Details
Methods
-
setDistance( lat, lon )
-
Description
Set the Stop's distance property to the distance from the specified location.
Parameters
Name Type Description lat
number Location's latitude (decimal degrees)
lon
number Location's longitude (decimal degrees)
Details
-
<static> sortById( a, b ) → {number}
-
<static> sortByName( a, b ) → {number}
-
<static> sortByTransferWeight( a, b ) → {number}
-
<static> sortByDistance( a, b ) → {number}