Skip to content

LayerOverlay

Namespace: ThinkGeo.UI.Blazor

public class LayerOverlay : TileOverlay, Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleEvent, Microsoft.AspNetCore.Components.IHandleAfterRender

Inheritance objectComponentBaseOverlayTileOverlayLayerOverlay
Implements IComponent, IHandleEvent, IHandleAfterRender

Properties

Layers

A collection of Layer which need to be drawn.

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

Property Value

GeoCollection<LayerBase>

TileCache

Gets and sets a tile cache object for saving the tiles.

public RasterTileCache TileCache { get; set; }

Property Value

RasterTileCache

IsCacheOnly

Gets or sets a value indicating whether this instance is cache only.

public bool IsCacheOnly { get; set; }

Property Value

bool
true if this instance is cache only; otherwise, false.

IsVisible

public bool IsVisible { get; set; }

Property Value

bool

MaxExtent

Gets or sets the maximum geographic extent that the overlay can display.

public RectangleShape MaxExtent { get; set; }

Property Value

RectangleShape

TileHeight

Gets or sets the tile height, in pixels, used when requesting imagery from the client.

public int TileHeight { get; set; }

Property Value

int

TileWidth

Gets or sets the tile width, in pixels, used when requesting imagery from the client.

public int TileWidth { get; set; }

Property Value

int

WrappingMode

Gets or sets the mode that determines how tiles wrap across the world boundary.

public WrappingMode WrappingMode { get; set; }

Property Value

WrappingMode

Id

Gets or sets the unique identifier used to register this overlay with the map. Defaults to a new GUID.

public string Id { get; set; }

Property Value

string

Constructors

LayerOverlay()

public LayerOverlay()

Methods

BuildRenderTree(RenderTreeBuilder)

protected void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

Returns

void

DrawTile(GeoCanvas)

protected void DrawTile(GeoCanvas canvas)

Parameters

canvas GeoCanvas

Returns

void

DrawTileAsyncCore(GeoCanvas)

protected Task DrawTileAsyncCore(GeoCanvas canvas)

Parameters

canvas GeoCanvas

Returns

Task

RedrawAsync()

public Task RedrawAsync()

Returns

Task

InitAsync()

protected internal Task InitAsync()

Returns

Task

ReleaseAsync()

protected internal Task ReleaseAsync()

Returns

Task

OnAfterRenderAsync(bool)

protected Task OnAfterRenderAsync(bool firstRender)

Parameters

firstRender bool

Returns

Task