A class that represents an incident. More...
|Import Statement:||import Esri.ArcGISRuntime 100.6|
- curbApproach : Enums.CurbApproach
- distanceToNetworkLocation : double
- geometry : Point
- impedanceCutoff : double
- incidentId : int
- locationStatus : Enums.LocationStatus
- name : string
- networkLocation : NetworkLocation
- targetFacilityCount : double
An Incident is a location that can serve as the starting point or end point of a closest facility analysis, for example, a fire or a traffic accident. Incidents are part of ClosestFacilityParameters which is used as an input to ClosestFacilityTask.solveClosestFacilityRoute.
This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.
The curb approach for this Incident.
See also Enums.CurbApproach.
Returns the distance of this Incident to a network feature in meters (read-only).
NaN if the facility has not been located.
geometry : Point
Returns the Point geometry of where this Incident is located (read-only).
The impedance cutoff of this Incident.
For instance, while finding the closest hospitals from the site of an accident, a cutoff value of 15 minutes would mean that the closest facility task would search for the closest hospital within 15 minutes from the facility. If the closest hospital is 17 minutes away, no routes will be returned in the output routes. A cutoff value is especially useful when searching for multiple facilities or incidents. The units for impedance cutoff is based on the value of the TravelMode.impedanceAttributeName. For example, if TravelMode.impedanceAttributeName is TravelTime, then impedanceCutoff is specified in minutes.
The ID of this Incident.
This QML property was introduced in Esri.ArcGISRuntime 100.6.
Returns the LocationStatus of this Incident (read-only).
See also Enums.LocationStatus.
networkLocation : NetworkLocation
The network location of this Incident.
The target facility count of this Incident.
Specifies the number of facilities that need to be found for the incident. A negative value means that the target facility count property is not considered, but the default is used instead. The default value can be obtained from ClosestFacilityTaskInfo.defaultTargetFacilityCount.
Emitted when the curbApproach property of this Incident changes.
Emitted when the distanceToNetworkLocation property of this Incident changes.
Emitted when the geometry property of this Incident changes.
Emitted when the impedanceCutoff property of this Incident changes.
Emitted when the incidentId property of this Incident changes.
This QML signal was introduced in Esri.ArcGISRuntime 100.6.
Emitted when the locationStatus property of this Incident changes.
Emitted when the name property of this Incident changes.
Emitted when the networkLocation property of this Incident changes.
Emitted when the targetFacilityCount property of this Incident changes.
Sets the costValue for a given attributeName.