Skip to content

EditOverlay

Namespace: ThinkGeo.UI.Blazor

public class EditOverlay : Overlay, Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleEvent, Microsoft.AspNetCore.Components.IHandleAfterRender

Inheritance Object → ComponentBase → OverlayEditOverlay
Implements IComponent, IHandleEvent, IHandleAfterRender

Properties

Features

Gets a collection of features.

public GeoCollection<Feature> Features { get; }

Property Value

GeoCollection<Feature>

OnFeatureClick

Occurs when editing feature is clicked.

public EventCallback<FeatureClickedEditOverlayEventArgs> OnFeatureClick { get; set; }

Property Value

EventCallback<FeatureClickedEditOverlayEventArgs>

OnFeatureModified

Occurs when editing feature is modified.

public EventCallback<FeatureModifiedEditOverlayEventArgs> OnFeatureModified { get; set; }

Property Value

EventCallback<FeatureModifiedEditOverlayEventArgs>

OnFeatureDrawn

Occurs when feature is drawn.

public EventCallback<FeatureDrawnEditOverlayEventArgs> OnFeatureDrawn { get; set; }

Property Value

EventCallback<FeatureDrawnEditOverlayEventArgs>

TrackMode

Gets or sets the track mode of EditOverlay.

public BlazorTrackMode TrackMode { get; set; }

Property Value

BlazorTrackMode

FeatureStyle

Gets or sets the style for editing features.

public EditOverlayFeatureStyle FeatureStyle { get; set; }

Property Value

EditOverlayFeatureStyle

Id

Gets or sets Id.

public string Id { get; set; }

Property Value

String

IsVisible

Indicating whether the overlay is visible or not. Defaults to true.

public bool IsVisible { get; set; }

Property Value

Boolean

Constructors

EditOverlay()

public EditOverlay()

Methods

BuildRenderTree(RenderTreeBuilder)

protected void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

SetParametersAsync(ParameterView)

public Task SetParametersAsync(ParameterView parameters)

Parameters

parameters ParameterView

Returns

Task

InitAsync()

protected internal Task InitAsync()

Returns

Task

OnInitialized()

protected void OnInitialized()

OnAfterRenderAsync(Boolean)

protected Task OnAfterRenderAsync(bool firstRender)

Parameters

firstRender Boolean

Returns

Task

ShouldRender()

protected bool ShouldRender()

Returns

Boolean