Online Maps
v3
|
Single leg of the journey from the origin to the destination in the calculated route. More...
Public Attributes | |
Step[] | steps |
Array of steps denoting information about each separate step of the leg of the journey. More... | |
TextValue< int > | duration |
Total duration of this leg. More... | |
TextValue< int > | duration_in_traffic |
Total duration of this leg. This value is an estimate of the time in traffic based on current and historical traffic conditions. More... | |
TextValue< int > | distance |
Total distance covered by this leg. More... | |
OnlineMapsVector2d | start_location |
Coordinates of the origin of this leg. Because the Directions API calculates directions between locations by using the nearest transportation option (usually a road) at the start and end points, start_location may be different than the provided origin of this leg if, for example, a road is not near the origin. More... | |
OnlineMapsVector2d | end_location |
Coordinates of the given destination of this leg. Because the Google Maps Directions API calculates directions between locations by using the nearest transportation option (usually a road) at the start and end points, end_location may be different than the provided destination of this leg if, for example, a road is not near the destination. More... | |
string | start_address |
Human-readable address (typically a street address) resulting from reverse geocoding the start_location of this leg. More... | |
string | end_address |
Human-readable address (typically a street address) from reverse geocoding the end_location of this leg. More... | |
TextValueZone< string > | arrival_time |
Estimated time of arrival for this leg. This property is only returned for transit directions. More... | |
TextValueZone< string > | departure_time |
Estimated time of departure for this leg, specified as a Time object. The departure_time is only available for transit directions. More... | |
Single leg of the journey from the origin to the destination in the calculated route.
TextValueZone<string> OnlineMapsGoogleDirectionsResult.Leg.arrival_time |
Estimated time of arrival for this leg. This property is only returned for transit directions.
TextValueZone<string> OnlineMapsGoogleDirectionsResult.Leg.departure_time |
Estimated time of departure for this leg, specified as a Time object. The departure_time is only available for transit directions.
TextValue<int> OnlineMapsGoogleDirectionsResult.Leg.distance |
Total distance covered by this leg.
TextValue<int> OnlineMapsGoogleDirectionsResult.Leg.duration |
Total duration of this leg.
TextValue<int> OnlineMapsGoogleDirectionsResult.Leg.duration_in_traffic |
Total duration of this leg. This value is an estimate of the time in traffic based on current and historical traffic conditions.
string OnlineMapsGoogleDirectionsResult.Leg.end_address |
Human-readable address (typically a street address) from reverse geocoding the end_location of this leg.
OnlineMapsVector2d OnlineMapsGoogleDirectionsResult.Leg.end_location |
Coordinates of the given destination of this leg. Because the Google Maps Directions API calculates directions between locations by using the nearest transportation option (usually a road) at the start and end points, end_location may be different than the provided destination of this leg if, for example, a road is not near the destination.
string OnlineMapsGoogleDirectionsResult.Leg.start_address |
Human-readable address (typically a street address) resulting from reverse geocoding the start_location of this leg.
OnlineMapsVector2d OnlineMapsGoogleDirectionsResult.Leg.start_location |
Coordinates of the origin of this leg. Because the Directions API calculates directions between locations by using the nearest transportation option (usually a road) at the start and end points, start_location may be different than the provided origin of this leg if, for example, a road is not near the origin.
Step [] OnlineMapsGoogleDirectionsResult.Leg.steps |
Array of steps denoting information about each separate step of the leg of the journey.