PointBarrier QML Type

A Point 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. 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(string attributeName)

Returns added cost of a given attributeName.

See also setAddedCost().


void setAddedCost(string attributeName, double addedCost)

Sets the addedCost for a given attributeName.

See also addedCost().


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

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close