GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Model

PolygonBarrier Class

A polygon barrier to restrict travel along a street network when using a RouteLayer.
ArcGIS SDK for JavaScript

public class PolygonBarrier : dymaptic.GeoBlazor.Pro.Model.Barrier,
System.IEquatable<dymaptic.GeoBlazor.Pro.Model.PolygonBarrier>

Inheritance System.Object 🡒 Barrier 🡒 PolygonBarrier

Implements System.IEquatable<PolygonBarrier>

Constructors

PolygonBarrier() Constructor

public PolygonBarrier();

Properties

PolygonBarrier.BarrierType Property

Use this parameter to specify polygons that either completely restrict travel or proportionately scale the time or distance required to travel on the streets intersected by the polygons.

public System.Nullable<dymaptic.GeoBlazor.Pro.Enums.PolygonBarrierType> BarrierType { get; set; }

Property Value

System.Nullable<PolygonBarrierType>

PolygonBarrier.Geometry Property

The point location of the barrier.

public dymaptic.GeoBlazor.Core.Components.Geometries.Polygon? Geometry { get; set; }

Property Value

dymaptic.GeoBlazor.Core.Components.Geometries.Polygon

PolygonBarrier.Name Property

The name of the barrier.

public string? Name { get; set; }

Property Value

System.String

PolygonBarrier.Type Property

The type of barrier

public override string Type { get; }

Property Value

System.String