Click or drag to resize

RouteMatrix Properties

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release

The RouteMatrix type exposes the following members.

Properties
  NameDescription
Public propertyCurrentTime
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.
Public propertyLocationsToCalculate
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.
Public propertyObeyConstraints
Setting this true ensures that constraints are obeyed when calculating routes.
Public propertyStops
Returns an array of stops in the order of the matrix.
Public propertyStrategy
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.
Public propertyVehicleSpec
Applies a VehicleSpec to this RouteMatrix. When this value is changed the existing network is recalculated rather than rebuilt, and constraints are enabled automatically.
Top
See Also