Skip to content

TileOverlay

Namespace: ThinkGeo.UI.Blazor

Represents the base class for overlays that render map tiles.

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

Inheritance objectComponentBaseOverlayTileOverlay
Implements IComponent, IHandleEvent, IHandleAfterRender

Properties

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

Methods

OnInitialized()

Registers the overlay with the parent MapView before the component renders for the first time.

protected void OnInitialized()

Returns

void

ShouldRender()

Determines whether Blazor should re-render the component. Tile overlays re-render only when configuration changes must be applied to the client.

protected bool ShouldRender()

Returns

bool
true when pending changes exist; otherwise, false.