CalculateRouteMatrixResponse
import type { CalculateRouteMatrixResponse } from "https://aws-api.deno.dev/v0.3/services/location.ts?docs=full";
Returns the result of the route matrix calculation.
§Properties
The calculated route matrix containing the results for all pairs of DeparturePositions
to DestinationPositions
.
Each row corresponds to one entry in DeparturePositions
.
Each entry in the row corresponds to the route from that entry in DeparturePositions
to an entry in DestinationPositions
.
For routes calculated using an Esri route calculator resource, departure positions are snapped to the closest road.
For Esri route calculator resources, this returns the list of departure/origin positions used for calculation of the RouteMatrix
.
The list of destination positions for the route matrix used for calculation of the RouteMatrix
.
Contains information about the route matrix, DataSource
, DistanceUnit
, RouteCount
and ErrorCount
.