RouteMatrix Properties |
The RouteMatrix type exposes the following members.
Name | Description | |
---|---|---|
CurrentTime |
Sets the start time for the routes from each of the stops in the matrix.
This will be used to guide time-specific routing features such as traffic
and constraints. The time is in UTC.
| |
LocationsToCalculate |
Returns an array of LatLon objects, which contains the locations
to calculate as part of this route matrix. This property allows you to define a subset of
locations to calculate the route matrix from, to speed up calculations. If this property is
null, all rows and columns of the route matrix are calculated.
| |
ObeyConstraints |
Setting this true ensures that constraints are obeyed when calculating routes.
| |
Stops |
Returns an array of stops in the order of the matrix.
| |
Strategy |
Sets the routing strategy. When the routing strategy is changed
the existing network is recalculated rather than rebuilt. Changing the
strategy on an existing RouteMatrix object is much faster than creating
a new RouteMatrix object.
| |
VehicleSpec |
Applies a VehicleSpec to this RouteMatrix. When this value is changed the existing
network is recalculated rather than rebuilt, and constraints are enabled
automatically.
|