ClosestFacilityTaskInfo QML Type

ClosestFacilityTask."> ClosestFacilityTaskInfo QML Type | ArcGISQtQml
  • Esri.ArcGISRuntime
  • ClosestFacilityTaskInfo
  • Information about a ClosestFacilityTask. More...

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

    Object

    Properties

    Detailed Description

    Note: You cannot declare or create a component of this type in QML code.

    ClosestFacilityTaskInfo contains the network dataset defaults from the ClosestFacilityTask once it is loaded. Use this type to obtain information about ClosestFacilityTask defaults before setting ClosestFacilityParameters.

    Property Documentation

    [read-only] accumulateAttributeNames : list<string>

    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 ClosestFacilityTaskInfo.costAttributes method.

    Note: The same list of accumulate attribute names can be obtained from ClosestFacilityParameters.accumulateAttributeNames method.


    [read-only] costAttributes : jsobject

    Returns a map of available cost attributes from the network (read-only).

    The key is the name as a string, and the value is the CostAttribute.


    [read-only] defaultImpedanceCutoff : double

    Returns the default value for the impedance beyond which facilities should not be found (read-only).

    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 incident. 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 parameter is TravelTime, the defaultCutoff is specified in minutes.


    [read-only] defaultTargetFacilityCount : int

    Returns the default number of facilities to find (read-only).


    [read-only] defaultTravelModeName : string

    Returns the default travel mode name (read-only).

    If the closest facility task is initialized with a URL that has no travel modes, then the default travel mode name is an empty string.


    [read-only] directionsDistanceUnits : Enums.UnitSystem

    Returns the default directions distance units (read-only).

    See also Enums.UnitSystem.


    [read-only] directionsLanguage : string

    Returns the default directions language (read-only).


    [read-only] directionsStyle : Enums.DirectionsStyle

    Returns the default style of the resulting route directions (read-only).

    See also Enums.DirectionsStyle.


    [read-only, since Esri.ArcGISRuntime 100.7] directionsSupport : Enums.NetworkDirectionsSupport

    Returns whether the underlying network dataset supports the returning of directions (read-only).

    Note: For services prior to ArcGIS 10.8, this value will be Enums.NetworkDirectionsSupportUnknown.

    This property was introduced in Esri.ArcGISRuntime 100.7.

    See also Enums.NetworkDirectionsSupport.


    [read-only, since Esri::ArcGISRuntime 100.6] maxLocatingDistance : double

    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.


    [read-only] networkName : string

    Returns the network name.


    [read-only] outputSpatialReference : string

    Returns the default output spatial reference (read-only).


    [read-only] restrictionAttributes : jsobject

    Returns a map of available restriction attributes from the network (read-only).

    The key is the name as a string, and the value is the RestrictionAttribute.


    [read-only] routeShapeType : Enums.RouteShapeType

    Returns the default enumeration value for the output shape type (read-only).

    See also Enums.RouteShapeType.


    [read-only] startTime : date

    Returns the default start time of the closest facility route in UTC time (read-only).


    [read-only] startTimeUsage : Enums.StartTimeUsage

    Returns the default start time usage type (read-only).

    See also Enums.StartTimeUsage.


    [read-only] supportedLanguages : list<string>

    Returns a list of supported languages (read-only).


    [read-only] supportedRestrictionUsageParameterValues : list<string>

    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.


    [read-only] travelDirection : Enums.TravelDirection

    Returns the default travel direction type (read-only).

    See also Enums.TravelDirection.


    [read-only] travelModes : list<TravelMode>

    Returns a list of travel modes set in the ClosestFacilityParameters (read-only).


    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.