public class DistanceMatrix
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String[] |
destinationAddresses
destinationAddresses contains an array of addresses as returned by the API from your
original request. |
java.lang.String[] |
originAddresses
originAddresses contains an array of addresses as returned by the API from your
original request. |
DistanceMatrixRow[] |
rows
rows contains an array of elements, which in turn each contain a status, duration,
and distance element. |
Constructor and Description |
---|
DistanceMatrix(java.lang.String[] originAddresses,
java.lang.String[] destinationAddresses,
DistanceMatrixRow[] rows) |
public final java.lang.String[] originAddresses
originAddresses
contains an array of addresses as returned by the API from your
original request. These are formatted by the geocoder and localized according to the
language parameter passed with the request.public final java.lang.String[] destinationAddresses
destinationAddresses
contains an array of addresses as returned by the API from your
original request. As with originAddresses
, these are localized if appropriate.public final DistanceMatrixRow[] rows
rows
contains an array of elements, which in turn each contain a status, duration,
and distance element.public DistanceMatrix(java.lang.String[] originAddresses, java.lang.String[] destinationAddresses, DistanceMatrixRow[] rows)