A Polygon indicating where the network analysis should not traverse. More...
Import Statement: | import Esri.ArcGISRuntime 100.15 |
Since: | Esri.ArcGISRuntime 100.0 |
Inherits: |
Properties
- barrierId : int
- barrierType : Enums.BarrierType
- geometry : Polygon
- name : string
Signals
Methods
- double scaleFactorForCost(string attributeName)
- void setScaleFactorForCost(string attributeName, double scaleFactorForCost)
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.
Property Documentation
The ID of this PolygonBarrier.
This property was introduced in Esri.ArcGISRuntime 100.6.
The BarrierType of this PolygonBarrier.
See also Enums.BarrierType.
[default] geometry : Polygon |
The polygon of this PolygonBarrier.
The name of this PolygonBarrier.
This property was introduced in Esri.ArcGISRuntime 100.3.
Signal Documentation
Emitted when the barrierId property of this PolygonBarrier changes.
Note: The corresponding handler is onBarrierIdChanged
.
This signal was introduced in Esri.ArcGISRuntime 100.6.
Emitted when the barrierType property of this PolygonBarrier changes.
Note: The corresponding handler is onBarrierTypeChanged
.
Emitted when the geometry property of this PolygonBarrier changes.
Note: The corresponding handler is onGeometryChanged
.
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
Returns scale factor for cost of a given attributeName.
See also setScaleFactorForCost().
Sets the scaleFactorForCost for a given attributeName.
See also scaleFactorForCost().