Skip To Content ArcGIS for Developers Sign In Dashboard

PointBarrier QML Type

A Point 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. PointBarriers can either restrict a point on the underlying network from being traversed (such as a road closure) or to penalize traversing the point (such as taking time to pass through a checkpoint or road slowdown).

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
Pointgeometry

Property Documentation

barrierId : int

The ID of this PointBarrier.

This property was introduced in Esri.ArcGISRuntime 100.6.


barrierType : Enums.BarrierType

The BarrierType of this PointBarrier.

See also Enums.BarrierType.


curbApproach : Enums.CurbApproach

The CurbApproach of this PointBarrier.

See also Enums.CurbApproach.


[default] geometry : Point

The Point of this PointBarrier.


locationStatus : Enums.LocationStatus

The LocationStatus of this PointBarrier.

See also Enums.LocationStatus.


name : string

The name of this PointBarrier.

This property was introduced in Esri.ArcGISRuntime 100.3.


Signal Documentation

barrierIdChanged()

Emitted when the barrierId property of this PointBarrier changes.

Note: The corresponding handler is onBarrierIdChanged.

This signal was introduced in Esri.ArcGISRuntime 100.6.


barrierTypeChanged()

Emitted when the barrierType property of this PointBarrier changes.

Note: The corresponding handler is onBarrierTypeChanged.


curbApproachChanged()

Emitted when the curbApproach property of this PointBarrier changes.

Note: The corresponding handler is onCurbApproachChanged.


geometryChanged()

Emitted when the geometry property of this PointBarrier changes.

Note: The corresponding handler is onGeometryChanged.


locationStatusChanged()

Emitted when the locationStatus property of this PointBarrier changes.

Note: The corresponding handler is onLocationStatusChanged.


nameChanged()

Emitted when the name property of this PointBarrier changes.

Note: The corresponding handler is onNameChanged.

This signal was introduced in Esri.ArcGISRuntime 100.3.


Method Documentation

double addedCost(attributeName)

Returns added cost of a given attributeName.

See also setAddedCost().


void setAddedCost(attributeName, double addedCost)

Sets the addedCost for a given attributeName.

See also addedCost().



Feedback on this topic?