Online Maps  v3
OnlineMapsGoogleDirectionsResult.TransitDetails Class Reference

Additional information that is not relevant for other modes of transportation. More...

Public Attributes

NameLocation arrival_stop
 Information about the stop/station for this part of the trip. More...
 
NameLocation departure_stop
 Information about the stop/station for this part of the trip. More...
 
TextValueZone< string > arrival_time
 Arrival time for this leg of the journey More...
 
TextValueZone< string > departure_time
 Departure time for this leg of the journey More...
 
string headsign
 Direction in which to travel on this line, as it is marked on the vehicle or at the departure stop. This will often be the terminus station. More...
 
int headway
 Expected number of seconds between departures from the same stop at this time.
For example, with a headway value of 600, you would expect a ten minute wait if you should miss your bus. More...
 
int num_stops
 Number of stops in this step, counting the arrival stop, but not the departure stop.
For example, if your directions involve leaving from Stop A, passing through stops B and C, and arriving at stop D, num_stops will return 3. More...
 
Line line
 Information about the transit line used in this step. More...
 

Detailed Description

Additional information that is not relevant for other modes of transportation.

Member Data Documentation

◆ arrival_stop

NameLocation OnlineMapsGoogleDirectionsResult.TransitDetails.arrival_stop

Information about the stop/station for this part of the trip.

◆ arrival_time

TextValueZone<string> OnlineMapsGoogleDirectionsResult.TransitDetails.arrival_time

Arrival time for this leg of the journey

◆ departure_stop

NameLocation OnlineMapsGoogleDirectionsResult.TransitDetails.departure_stop

Information about the stop/station for this part of the trip.

◆ departure_time

TextValueZone<string> OnlineMapsGoogleDirectionsResult.TransitDetails.departure_time

Departure time for this leg of the journey

◆ headsign

string OnlineMapsGoogleDirectionsResult.TransitDetails.headsign

Direction in which to travel on this line, as it is marked on the vehicle or at the departure stop. This will often be the terminus station.

◆ headway

int OnlineMapsGoogleDirectionsResult.TransitDetails.headway

Expected number of seconds between departures from the same stop at this time.
For example, with a headway value of 600, you would expect a ten minute wait if you should miss your bus.

◆ line

Line OnlineMapsGoogleDirectionsResult.TransitDetails.line

Information about the transit line used in this step.

◆ num_stops

int OnlineMapsGoogleDirectionsResult.TransitDetails.num_stops

Number of stops in this step, counting the arrival stop, but not the departure stop.
For example, if your directions involve leaving from Stop A, passing through stops B and C, and arriving at stop D, num_stops will return 3.