google-maps-documentation

DistanceMatrixResponse interface

google.maps.DistanceMatrixResponse interface

The response to a DistanceMatrixService request, consisting of the formatted origin and destination addresses, and a sequence of DistanceMatrixResponseRows, one for each corresponding origin address.

Properties
destinationAddresses
Type:  Array<string>
The formatted destination addresses.
originAddresses
Type:  Array<string>
The formatted origin addresses.
rows
The rows of the matrix, corresponding to the origin addresses.