-
Initializes a matrix options object for matrices and a given profile identifier.
sources
anddestinations
should not be empty, otherwise matrix would not make sense. Total number of waypoints may differ depending on theprofileIdentifier
. See documentation for details. -
A string specifying the primary mode of transportation for the contours.
-
An array of
Waypoints
objects representing locations that will be in the matrix. -
Attribute options for the matrix.
Only
distance
andexpectedTravelTime
are supported. EmptyattributeOptions
will result in default values assumed. -
The
waypoints
array that should be used as destinations.Must not be empty.
-
The
waypoints
array that should be used as sources.Must not be empty.
-
-
-
An array of URL query items (parameters) to include in an HTTP request.
-