dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Model

PolygonBarrier Class

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

public record PolygonBarrier : 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.PolygonBarrier>

Inheritance System.Object 🡒 Barrier 🡒 PolygonBarrier

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

Constructors

PolygonBarrier() Constructor

Parameterless constructor

public PolygonBarrier();

PolygonBarrier(Nullable, Polygon, string, PopupTemplate) Constructor

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

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

Parameters

BarrierType System.Nullable<PolygonBarrierType>

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. ArcGIS Maps SDK for JavaScript

Geometry Polygon

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

PolygonBarrier.AbortManager Property

Allows for transmitting CancellationToken cancel signals to JavaScript.

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

Implements AbortManager

Property Value

AbortManager

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. ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<PolygonBarrierType>

PolygonBarrier.CoreJsModule Property

Reference to the Core JavaScript module.

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

Implements CoreJsModule

Property Value

Microsoft.JSInterop.IJSObjectReference

PolygonBarrier.Geometry Property

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

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

Property Value

Polygon

PolygonBarrier.Id Property

A unique Id to identify this record in JavaScript.

public System.Guid Id { get; set; }

Implements Id

Property Value

System.Guid

PolygonBarrier.IsServer Property

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

public bool IsServer { get; set; }

Property Value

System.Boolean

PolygonBarrier.JsComponentReference Property

Represents the JavaScript component reference.

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

Implements JsComponentReference

Property Value

Microsoft.JSInterop.IJSObjectReference

PolygonBarrier.Name Property

The name of the barrier. ArcGIS Maps SDK for JavaScript

public string? Name { get; set; }

Property Value

System.String

PolygonBarrier.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

PolygonBarrier.Type Property

The type of barrier

public override string Type { get; }

Property Value

System.String

Methods

PolygonBarrier.ToGraphic() Method

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

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

Returns

System.Threading.Tasks.Task<Graphic>