solveRoute
solveRoute
FunctionsolveRoute(requestOptions: ISolveRouteOptions): Promise<ISolveRouteResponse>
Used to find the best way to get from one location to another or to visit several locations. See the REST Documentation for more information.
Parameters
Parameter | Type | Notes |
---|---|---|
request | ISolveRouteOptions | Options to pass through to the routing service. |
Returns
Promise<ISolveRouteResponse>
A Promise that will resolve with routes and directions for the request.