EditOverlay¶
Namespace: ThinkGeo.UI.Blazor
public class EditOverlay : Overlay, Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleEvent, Microsoft.AspNetCore.Components.IHandleAfterRender
Inheritance Object → ComponentBase → Overlay → EditOverlay
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¶
FeatureStyle¶
Gets or sets the style for editing features.
public EditOverlayFeatureStyle FeatureStyle { get; set; }
Property Value¶
Id¶
Gets or sets Id.
public string Id { get; set; }
Property Value¶
IsVisible¶
Indicating whether the overlay is visible or not. Defaults to true.
public bool IsVisible { get; set; }
Property Value¶
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¶
InitAsync()¶
protected internal Task InitAsync()
Returns¶
OnInitialized()¶
protected void OnInitialized()
OnAfterRenderAsync(Boolean)¶
protected Task OnAfterRenderAsync(bool firstRender)
Parameters¶
firstRender
Boolean
Returns¶
ShouldRender()¶
protected bool ShouldRender()