Skip to content

AdornmentOverlay

Namespace: ThinkGeo.UI.Blazor

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

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

Properties

Layers

A collection of

public GeoCollection<AdornmentLayer> Layers { get; set; }

Property Value

GeoCollection<AdornmentLayer>

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

AdornmentOverlay()

public AdornmentOverlay()

Methods

BuildRenderTree(RenderTreeBuilder)

protected void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

InitAsync()

protected internal Task InitAsync()

Returns

Task

ReleaseAsync()

protected internal Task ReleaseAsync()

Returns

Task

RedrawAsync()

public Task RedrawAsync()

Returns

Task

DrawCore(GeoCanvas)

This method overrides the DrawCore logic in the Overlay base class.

Draw all of the AdornmentLayers to the image object using the parameters specified.

protected void DrawCore(GeoCanvas canvas)

Parameters

canvas GeoCanvas
This parameter specifies the target canvas to draw the current AdornmentOverlay on.

OnAfterRenderAsync(Boolean)

protected Task OnAfterRenderAsync(bool firstRender)

Parameters

firstRender Boolean

Returns

Task

OnInitialized()

protected void OnInitialized()