Skip to content

Latest commit

 

History

History
40 lines (21 loc) · 1.82 KB

DistanceMatrixResponseElement.md

File metadata and controls

40 lines (21 loc) · 1.82 KB

See html formatted version

DistanceMatrixResponseElement interface

google.maps.DistanceMatrixResponseElement interface

A single element of a response to a DistanceMatrixService request, which contains the duration and distance from one origin to one destination.

Properties

undefined

Type:  Distance

The distance for this origin-destination pairing. This property may be undefined as the distance may be unknown.

undefined

Type:  Duration

The duration for this origin-destination pairing. This property may be undefined as the duration may be unknown.

undefined

Type:  Duration

The duration for this origin-destination pairing, taking into account the traffic conditions indicated by the trafficModel property. This property may be undefined as the duration may be unknown. Only available to Premium Plan customers when drivingOptions is defined when making the request.

undefined

Type:  TransitFare

The total fare for this origin-destination pairing. Only applicable to transit requests.

undefined

Type:  DistanceMatrixElementStatus

The status of this particular origin-destination pairing.