google.maps.TransitDetails interface
Details about the departure, arrival, and mode of transit used in this step.
Properties
Type: TransitStop
The arrival stop of this transit step.
Type: Time
The arrival time of this step, specified as a Time object.
Type: TransitStop
The departure stop of this transit step.
Type: Time
The departure time of this step, specified as a Time object.
Type: string
The direction in which to travel on this line, as it is marked on the vehicle or at the departure stop.
Type: number
The expected number of seconds between equivalent vehicles at this stop.
Type: TransitLine
Details about the transit line used in this step.
Type: number
The number of stops on this step. Includes the arrival stop, but not the departure stop.
Type: string
The text that appears in schedules and sign boards to identify a transit trip to passengers, for example, to identify train numbers for commuter rail trips. The text uniquely identifies a trip within a service day.