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.6
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 QML 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 QML property was introduced in Esri.ArcGISRuntime 100.3.


Signal Documentation

barrierIdChanged()

Emitted when the barrierId property of this PolylineBarrier changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.6.


barrierTypeChanged()

Emitted when the barrierType property of this PolylineBarrier changes.


geometryChanged()

Emitted when the geometry property of this PolylineBarrier changes.


nameChanged()

Emitted when the name property of this PolylineBarrier changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.3.


Method Documentation

double scaleFactorForCost(string attributeName)

Returns scale factor for cost of a given attributeName.


void setScaleFactorForCost(string attributeName, double scaleFactorForCost)

Sets the scaleFactorForCost for a given attributeName.



Feedback on this topic?