Skip To Content ArcGIS for Developers Sign In Dashboard

PolylineBarrier QML Type

A Polyline indicating where the network analysis should not traverse. More...

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

Object

Properties

Signals

Methods

Detailed Description

Barriers are used in network analyses. Barriers can be used to represent locations where the analysis cannot pass through. As an example, you can model road closures from a flooded creek or river with a PolylineBarrier to avoid that location.

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.

TypeDefault Property
Polylinegeometry

Property Documentation

barrierId : int

The ID of this PolylineBarrier.

This property was introduced in Esri.ArcGISRuntime 100.6.


barrierType : Enums.BarrierType

The BarrierType of this PolylineBarrier.

See also Enums.BarrierType.


[default] geometry : Polyline

The polyline of this PolylineBarrier.


name : string

The name of this PolylineBarrier.

This property was introduced in Esri.ArcGISRuntime 100.3.


Signal Documentation

barrierIdChanged()

Emitted when the barrierId property of this PolylineBarrier changes.

Note: The corresponding handler is onBarrierIdChanged.

This signal was introduced in Esri.ArcGISRuntime 100.6.


barrierTypeChanged()

Emitted when the barrierType property of this PolylineBarrier changes.

Note: The corresponding handler is onBarrierTypeChanged.


geometryChanged()

Emitted when the geometry property of this PolylineBarrier changes.

Note: The corresponding handler is onGeometryChanged.


nameChanged()

Emitted when the name property of this PolylineBarrier changes.

Note: The corresponding handler is onNameChanged.

This signal was introduced in Esri.ArcGISRuntime 100.3.


Method Documentation

double scaleFactorForCost(attributeName)

Returns scale factor for cost of a given attributeName.

See also setScaleFactorForCost().


void setScaleFactorForCost(attributeName, double scaleFactorForCost)

Sets the scaleFactorForCost for a given attributeName.

See also scaleFactorForCost().



Feedback on this topic?