If true, instructs the Distance Matrix service to avoid ferries where possible.
If true, instructs the Distance Matrix service to avoid highways where possible.
If true, instructs the Distance Matrix service to avoid toll roads where possible.
Settings that apply only to requests where travelMode is DRIVING. This object will have no effect for other travel modes.
Region code used as a bias for geocoding requests.
Settings that apply only to requests where travelMode is TRANSIT. This object will have no effect for other travel modes.
Type of routing requested.
Preferred unit system to use when displaying distance.
Generated using TypeDoc
A distance matrix query sent by the DistanceMatrixService containing arrays of origin and destination locations, and various options for computing metrics.
Maps JavaScript API