ServiceAreaTask class final
Instances of this class represent tasks that can compute service areas.
A Service Area task allows you to calculate areas that can be serviced (reached) from a given location. A service area is a region that encompasses all accessible streets, that is, streets that lie within a specified impedance. For instance, the 10-minute service area for a facility includes all the streets that can be reached within 10 minutes from that facility.
- Implemented types
- Mixed in types
Constructors
- ServiceAreaTask.withDataset(TransportationNetworkDataset dataset)
-
Creates a service area task with transportation network dataset.
factory
- ServiceAreaTask.withGeodatabase({required Uri databasefileUri, required String networkName})
-
Creates a service area task with path to geodatabase.
factory
- ServiceAreaTask.withUrl(Uri uri)
-
Creates a service area task with URL.
factory
Properties
- apiKey ↔ String
-
The API key allows your app to access ArcGIS location services and private
portal items.
getter/setter pairoverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- loadError → ArcGISException?
-
The load error.
no setterinherited
- loadStatus → LoadStatus
-
The load status.
no setterinherited
-
onLoadStatusChanged
→ Stream<
LoadStatus> -
A stream that reports changes to the
LoadStatus
.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serviceAreaTaskInfo → ServiceAreaTaskInfo?
-
Service area task info.
no setter
- transportationNetworkDataset → TransportationNetworkDataset?
-
Transportation network dataset.
no setter
- uri → Uri?
-
The URL of online service.
no setter
Methods
-
cancelLoad(
) → void -
Cancels loading metadata for the object.
inherited
-
createDefaultParameters(
) → Future< ServiceAreaParameters> - Creates default parameters.
-
createDefaultParametersCancelable(
) → CancelableOperation< ServiceAreaParameters> - Cancelable version of createDefaultParameters. See that method for more information.
-
load(
) → Future< void> -
Loads the metadata for the object asynchronously.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retryLoad(
) → Future< void> -
Loads or retries loading metadata for the object asynchronously.
inherited
-
solveServiceArea(
{required ServiceAreaParameters serviceAreaParameters}) → Future< ServiceAreaResult> - Solve a service area passing in a parameters object.
-
solveServiceAreaCancelable(
{required ServiceAreaParameters serviceAreaParameters}) → CancelableOperation< ServiceAreaResult> - Cancelable version of solveServiceArea. See that method for more information.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited