ServiceAreaTaskInfo QML Type
|Import Statement:||import Esri.ArcGISRuntime 100.14|
- accumulateAttributeNames : list<string>
- costAttributes : jsobject
- defaultImpedanceCutoffs : list<double>
- defaultTravelModeName : string
- geometryAtCutoff : Enums.ServiceAreaPolygonCutoffGeometry
- geometryAtOverlap : Enums.ServiceAreaOverlapGeometry
- maxLocatingDistance : double
- networkName : string
- outputSpatialReference : string
- polygonBufferDistance : double
- polygonDetail : Enums.ServiceAreaPolygonDetail
- restrictionAttributes : jsobject
- returnPolygons : bool
- returnPolylines : bool
- startTime : date
- supportedRestrictionUsageParameterValues : list<string>
- travelDirection : Enums.TravelDirection
- travelModes : list<TravelMode>
Note: You cannot declare or create a component of this type in QML code.
ServiceAreaTaskInfo contains the network dataset defaults from the ServiceAreaTask once it is loaded. Use this class to obtain information about ServiceAreaTask defaults before setting ServiceAreaParameters.
Returns the default list of accumulative attribute names (read-only).
For example, accumulateAttributeNames = ["Miles", "Kilometers"] indicates that the total cost of the route should also be calculated in miles and kilometers. All supported attributes can be obtained from ServiceAreaTaskInfo::costAttributes method.
Note: The same list of accumulate attribute names can be obtained from the accumulateAttributeNames method.
Returns the map of available cost attributes from the network (read-only).
The key is the name as a string, and the value is the CostAttribute.
Returns the default impedance cutoff values (read-only).
Cutoffs specify the quantity of the impedance to apply. They constrain the extent of the service area to be calculated. For example, if you apply breaks of 5, 10, and 15 when the impedance is set to Time, the service area will include those streets that can be reached within 5, 10, and 15 minutes.
Returns the behavior of service area output for a single facility when multiple cutoff values are specified (read-only).
See also Enums.ServiceAreaPolygonCutoffGeometry.
Returns the behavior of service area output from multiple facilities in relation to one another (read-only).
See also Enums.ServiceAreaOverlapGeometry.
Maximum locating distance.
Maximum locating distance is the furthest distance (in meters) that Network Analyst searches when locating or relocating a point onto the network. The search looks for suitable edges or junctions and snaps the point to the nearest one. If a suitable location isn't found within the maximum locating distance, the object is marked as unlocated.
This property was introduced in Esri::ArcGISRuntime 100.6.
Returns the polygon buffer distance in meters (read-only).
The polygon buffer refers to the distance from the road the service area polygon should extend when no other reachable roads are nearby, similar to a line buffer size. This is useful if the network is very sparse and you don't want the service area to cover large areas where there are no features.
Returns the level of detail of the output polygons (read-only).
If your analysis covers an urban area with a grid-like street network, the difference between generalized and standard polygons will be minimal. However, for mountain and rural roads, the standard and detailed polygons may present significantly more accurate results than generalized polygons.
See also Enums.ServiceAreaPolygonDetail.
Returns the map of available restriction attributes from the network (read-only).
The key is the name as a string, and the value is the RestrictionAttribute.
Returns the supported values for soft restrictions (read-only).
Restrictions can be identified for particular elements such that during an analysis, traversing restricted elements is prohibited entirely, avoided, or preferred. The values in this list which are assigned to the restriction usage parameter determine whether the restriction attribute prohibits, avoids, or prefers its associated network elements. Furthermore, the degree to which network elements are avoided or preferred can be defined by choosing High, Medium, or Low.
Returns the default travel direction type (read-only).
See also Enums.TravelDirection.
travelModes : list<TravelMode>
Returns the list of travel modes set in the ServiceAreaParameters (read-only).