Skip To Content ArcGIS for Developers Sign In Dashboard

ServiceAreaFacility QML Type

Represents a service area facility. More...

Import Statement: import Esri.ArcGISRuntime 100.6
Since: Esri.ArcGISRuntime 100.1





Detailed Description

Facilities represent locations from which service areas need to be calculated. For example, a fire station can be set as a facility to find which areas it can serve within a 10 minute service area. A hospital can be set as the facility to find which areas of a city are within a 2-mile driving distance.

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.

Property Documentation

curbApproach : Enums.CurbApproach

The curb approach for this ServiceAreaFacility.

See also Enums.CurbApproach.

distanceToNetworkLocation : double

The distance of this ServiceAreaFacility to a network feature in meters (read-only).

Returns NaN if the ServiceAreaFacility has not been located.

facilityId : int

The ID of this ServiceAreaFacility.

This QML property was introduced in Esri.ArcGISRuntime 100.6.

geometry : Point

Returns the geometry indicating where this ServiceAreaFacility is located (read-only).

impedanceCutoffs : list<double>

The impedance cutoffs of this ServiceAreaFacility.

locationStatus : Enums.LocationStatus

Returns the LocationStatus of this ServiceAreaFacility (read-only).

See also Enums.LocationStatus.

name : string

The name of this ServiceAreaFacility.

networkLocation : NetworkLocation

The network location of this ServiceAreaFacility.

Signal Documentation


Emitted when the curbApproach property changes.


Emitted when the distanceToNetworkLocation property changes.


Emitted when the facilityId property of this ServiceAreaFacility changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.6.


Emitted when the geometry property changes.


Emitted when the impedanceCutoffs property changes.


Emitted when the locationStatus property changes.


Emitted when the name property changes.


Emitted when the networkLocation property changes.

Method Documentation

double addedCost(string attributeName)

Returns the added cost of the attribute named attributeName.

void setAddedCost(string attributeName, double costValue)

Sets the cost value for the attribute named attributeName to costValue.

Feedback on this topic?