dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Model

PolylineBarrier Class

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

public record PolylineBarrier : dymaptic.GeoBlazor.Pro.Model.Barrier, dymaptic.GeoBlazor.Pro.Interfaces.IMapViewRouteHitNetworkFeature, dymaptic.GeoBlazor.Pro.Interfaces.IRouteHitNetworkFeature, dymaptic.GeoBlazor.Core.Interfaces.IInteractiveRecord, System.IEquatable<dymaptic.GeoBlazor.Pro.Model.PolylineBarrier>

Inheritance System.Object 🡒 Barrier 🡒 PolylineBarrier

Implements IMapViewRouteHitNetworkFeature, IRouteHitNetworkFeature, IInteractiveRecord, System.IEquatable<PolylineBarrier>

Constructors

PolylineBarrier() Constructor

Parameterless constructor

public PolylineBarrier();

PolylineBarrier(Nullable, Point, string, PopupTemplate) Constructor

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

public PolylineBarrier(System.Nullable<dymaptic.GeoBlazor.Pro.Enums.PolygonBarrierType> BarrierType=null, dymaptic.GeoBlazor.Core.Components.Geometries.Point? Geometry=null, string? Name=null, dymaptic.GeoBlazor.Core.Components.Popups.PopupTemplate? PopupTemplate=null);

Parameters

BarrierType System.Nullable<PolygonBarrierType>

Specify whether the barrier restricts travel completely or scales time or distance when it is crossed. ArcGIS Maps SDK for JavaScript

Geometry Point

The point location of the barrier. ArcGIS Maps SDK for JavaScript

Name System.String

The name of the barrier. ArcGIS Maps SDK for JavaScript

PopupTemplate PopupTemplate

The template for displaying content in a Popup when the graphic is selected. ArcGIS Maps SDK for JavaScript

Properties

PolylineBarrier.AbortManager Property

Allows for transmitting CancellationToken cancel signals to JavaScript.

public dymaptic.GeoBlazor.Core.Model.AbortManager? AbortManager { get; set; }

Implements AbortManager

Property Value

AbortManager

PolylineBarrier.BarrierType Property

Specify whether the barrier restricts travel completely or scales time or distance when it is crossed. ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<PolygonBarrierType>

PolylineBarrier.CoreJsModule Property

Reference to the Core JavaScript module.

public Microsoft.JSInterop.IJSObjectReference? CoreJsModule { get; set; }

Implements CoreJsModule

Property Value

Microsoft.JSInterop.IJSObjectReference

PolylineBarrier.Geometry Property

The point location of the barrier. ArcGIS Maps SDK for JavaScript

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

Property Value

Point

PolylineBarrier.Id Property

A unique Id to identify this record in JavaScript.

public System.Guid Id { get; set; }

Implements Id

Property Value

System.Guid

PolylineBarrier.IsServer Property

Boolean flag to identify if GeoBlazor is running in Blazor Server mode

public bool IsServer { get; set; }

Property Value

System.Boolean

PolylineBarrier.JsComponentReference Property

Represents the JavaScript component reference.

public Microsoft.JSInterop.IJSObjectReference? JsComponentReference { get; set; }

Implements JsComponentReference

Property Value

Microsoft.JSInterop.IJSObjectReference

PolylineBarrier.Name Property

The name of the barrier. ArcGIS Maps SDK for JavaScript

public string? Name { get; set; }

Property Value

System.String

PolylineBarrier.PopupTemplate Property

The template for displaying content in a Popup when the graphic is selected. ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.Popups.PopupTemplate? PopupTemplate { get; set; }

Property Value

PopupTemplate

PolylineBarrier.Type Property

The type of barrier

public override string Type { get; }

Property Value

System.String

Methods

PolylineBarrier.ToGraphic() Method

Creates a Graphic from the PolylineBarrier instance. ArcGIS Maps SDK for JavaScript

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Graphic?> ToGraphic();

Returns

System.Threading.Tasks.Task<Graphic>