GeoBlazor Pro
layout: pro title: PolylineBarrier parent: Pro Classes grand_parent: GeoBlazor Pro —
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Model
PolylineBarrier Class
A polyline barrier to restrict travel along a street network when using a RouteLayer.
ArcGIS SDK for JavaScript
public class PolylineBarrier : dymaptic.GeoBlazor.Pro.Model.Barrier
Inheritance System.Object 🡒 Barrier 🡒 PolylineBarrier
Properties
PolylineBarrier.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.Model.PolygonBarrierType> BarrierType { get; set; }
Property Value
System.Nullable<PolygonBarrierType>
PolylineBarrier.Geometry Property
The point location of the barrier.
public dymaptic.GeoBlazor.Core.Components.Geometries.Point? Geometry { get; set; }
Property Value
dymaptic.GeoBlazor.Core.Components.Geometries.Point
PolylineBarrier.Name Property
The name of the barrier.
public string? Name { get; set; }
Property Value
PolylineBarrier.Type Property
The type of barrier
public override string Type { get; }