com.esri.core.tasks.ags.na
Class ServiceAreaTask
java.lang.Object
com.esri.core.tasks.ags.na.ServiceAreaTask
public class ServiceAreaTask
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceAreaTask
public ServiceAreaTask(String url)
ServiceAreaTask
public ServiceAreaTask(String url,
UserCredentials credentials)
getDefaultParameters
public ServiceAreaTaskParameters getDefaultParameters()
throws Exception
- Retrieves the default parameters as defined by the service layer.
- Returns:
- the default parameters
- Throws:
Exception
- the exception
solve
public ServiceAreaResult solve(ServiceAreaTaskParameters parameters)
throws Exception
- Solve.
- Parameters:
parameters
- the parameters
- Returns:
- the routing result
- Throws:
Exception
- the exception
solveAsync
public void solveAsync(ServiceAreaTaskParameters parameters,
CallbackListener<ServiceAreaResult> callback)
- Solve async.
- Parameters:
parameters
- the parameterscallback
- the callback
Copyright © 2012. All Rights Reserved.