C# SDK

◆ CalculateRoute()

static int CalculateRoute ( out SError  Error,
string  strWaypoints,
out string  strResult,
Int32  MaxTime 
)
inlinestatic

@summary This function calculates multiple routes in background for a given list of origins and destinations.

Parameters
Erroradditional error information in case of error
strWaypointsjson string representing the list of origin and destination waypoints
strResultjson string representing the route calculations producing duration and distance
MaxTimemaximum time (in milliseconds) the function can take. If MaxTime=0 function execution is not time limited
Returns
1 if function call is successfull, other value otherwise

References SError.SizeOf().