public class DistanceMatrix
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String[] |
destinationAddresses
Destination addresses as returned by the API from your original request.
|
java.lang.String[] |
originAddresses
Origin addresses as returned by the API from your original request.
|
DistanceMatrixRow[] |
rows
An array of elements, each of which in turn contains 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
public final java.lang.String[] destinationAddresses
originAddresses
, these are localized if appropriate.public final DistanceMatrixRow[] rows
public DistanceMatrix(java.lang.String[] originAddresses, java.lang.String[] destinationAddresses, DistanceMatrixRow[] rows)