PolygonBarrier QML Type

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

Import Statement: import Esri.ArcGISRuntime 100.15
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. For example, you can model road closures from a wildfire with a PolygonBarrier to avoid that location. PolygonBarriers can also be scaled costs. An example would be heavy rain where the road can still be traversed, but the time to traverse the road is doubled.

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
Polygongeometry

Property Documentation

barrierId : int

The ID of this PolygonBarrier.

This property was introduced in Esri.ArcGISRuntime 100.6.


barrierType : Enums.BarrierType

The BarrierType of this PolygonBarrier.

See also Enums.BarrierType.


[default] geometry : Polygon

The polygon of this PolygonBarrier.


name : string

The name of this PolygonBarrier.

This property was introduced in Esri.ArcGISRuntime 100.3.


Signal Documentation

barrierIdChanged()

Emitted when the barrierId property of this PolygonBarrier changes.

Note: The corresponding handler is onBarrierIdChanged.

This signal was introduced in Esri.ArcGISRuntime 100.6.


barrierTypeChanged()

Emitted when the barrierType property of this PolygonBarrier changes.

Note: The corresponding handler is onBarrierTypeChanged.


geometryChanged()

Emitted when the geometry property of this PolygonBarrier changes.

Note: The corresponding handler is onGeometryChanged.


nameChanged()

Emitted when the name property of this PolygonBarrier changes.

Note: The corresponding handler is onNameChanged.

This signal was introduced in Esri.ArcGISRuntime 100.3.


Method Documentation

double scaleFactorForCost(string attributeName)

Returns scale factor for cost of a given attributeName.

See also setScaleFactorForCost().


void setScaleFactorForCost(string attributeName, double scaleFactorForCost)

Sets the scaleFactorForCost for a given attributeName.

See also scaleFactorForCost().


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