public class DistanceMatrixResponse extends JavaScriptObject
Modifier | Constructor and Description |
---|---|
protected |
DistanceMatrixResponse()
this is generated from callback
use newInstance();
|
Modifier and Type | Method and Description |
---|---|
JsArrayString |
getDestinationAddresses()
The formatted destination addresses.
|
JsArrayString |
getOriginAddresses()
The formatted origin addresses.
|
JsArray<DistanceMatrixResponseRow> |
getRows()
The rows of the matrix, corresponding to the origin addresses.
|
static DistanceMatrixResponse |
newInstance()
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.
|
void |
setDestinationAddresses(JsArrayString destinationAddresses)
The formatted destination addresses.
|
void |
setOriginAddresses(JsArrayString originAddresses)
The formatted origin addresses.
|
void |
setRows(JsArray<DistanceMatrixResponseRow> rows)
The rows of the matrix, corresponding to the origin addresses.
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
protected DistanceMatrixResponse()
public static final DistanceMatrixResponse newInstance()
public final void setDestinationAddresses(JsArrayString destinationAddresses)
destinationAddresses
- public final JsArrayString getDestinationAddresses()
public final void setOriginAddresses(JsArrayString originAddresses)
originAddresses
- public final JsArrayString getOriginAddresses()
public final void setRows(JsArray<DistanceMatrixResponseRow> rows)
rows
- public final JsArray<DistanceMatrixResponseRow> getRows()
Copyright © 2011-2013 Gone Vertical LLC. All Rights Reserved.