AttributeParameterValue QML Type

  • Esri.ArcGISRuntime
  • AttributeParameterValue
  • A placeholder for attribute values that can change for a particular network analysis. More...

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

    Object

    Properties

    Signals

    Detailed Description

    Network attribute values sometimes depend on variable conditions. For example, a vehicle's height can determine if a road segment with a low overpass is traversable or not. Present weather conditions may scale down travel speeds and thus affect network time costs. These variables can be overridden with AttributeParameterValues when used in conjunction with a TravelMode for solving network analysis tasks.

    See the Network Analyst documentation for further conceptual details.

    Property Documentation

    attributeName : string

    The name of the attribute that you would like to add a parameter for.

    For example, HeightRestriction.


    parameterName : string

    The name of the parameter.

    For example, Vehicle Height.


    parameterValue : var

    The value of the parameter.

    For example, in the case where the parameterName is Vehicle Height, the parameterValue could be 0, meaning the vehicle can fit under any clearance.


    Signal Documentation

    attributeNameChanged()

    Emitted when the attributeName property changes.

    Note: The corresponding handler is onAttributeNameChanged.


    parameterNameChanged()

    Emitted when the parameterName property changes.

    Note: The corresponding handler is onParameterNameChanged.


    parameterValueChanged()

    Emitted when the parameterValue property changes.

    Note: The corresponding handler is onParameterValueChanged.


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