Performs the route solve operation using a callback request. The request is sent to the map resource identified by the Url property of the RouteTask.
The result of this operation is a
RouteResults object passed to callback function.
Namespace:
ESRI.ArcGIS.VE(in ArcGISVE.exe)
Syntax
| JScript |
|---|
function Solve( parameters : RouteParameters, callback : Function ) |
Parameters
- parameters
- Type: RouteParameters
RouteParameters object with parameters for the route solve operation.
- callback
- Type: Function
The JavaScript function that will handle the callback response. The callback function must take one argument, which will be a RouteResult object.
Remarks
See the RouteTask overview for a code snippet showing the use of the task.
