Select to view content in your preferred language

RequestTimeout of RouteTask

2320
1
09-18-2014 12:30 AM
FarhanQayum
Deactivated User

what is the maximum value for RequestTimeout of RouteTask to support?

If I increase the RequestTimeOut for  240 seconds,long route will be found otherwise not so my question is what is the maximum limit i can put to process the request successfully or it has some maximum limit already defined?

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

Farhan,

   Straight from the documentation:

requestTimeout property

requestTimeout:int

The request timeout in seconds. A value less than or equal to zero prevents request timeout.

The default value is -1.

This property can be used as the source for data binding.

com.esri.ags.tasks.RouteTask

0 Kudos