ServiceAreaTask helps you find service areas around any location on a network. A network service area is a region that encompasses all accessible streets (streets that are within a specified impedance). For instance, the 5-minute service area for a point includes all the streets that can be reached within five minutes from that point.
ServiceAreaTask, and other service area related classes, requires a service area layer. A service area layer is a layer of type
The name of the class.more details
The options to be used for data requests.more details
The ArcGIS Server REST service URL (usually of a Feature Service Layer or Map Service Layer) for use in a task.more details
The name of the class. The declared class name is formatted as
The options to be used for data requests. These options can also be controlled through the
The ArcGIS Server REST service URL (usually of a Feature Service Layer or Map Service Layer) for use in a task.
Determines the service area based on a set of parameters.more details
Determines the service area based on a set of parameters.Parameters:params ServiceAreaParameters
The parameters needed to define the service area.requestOptions Objectoptional
Additional options to be used for the data request (will override requestOptions defined during construction).Returns:
Type Description Promise<ServiceAreaSolveResult> When resolved, returns an instance of ServiceAreaSolveResult.
API Reference search results