Skip to content

WmtsTileOverlay

Namespace: ThinkGeo.UI.Blazor

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

Inheritance objectComponentBaseOverlayTileOverlayWmtsTileOverlay
Implements IComponent, IHandleEvent, IHandleAfterRender

Properties

ServerUri

Gets or sets the base URI of the WMTS server (used to construct the GetCapabilities URL).

public Uri ServerUri { get; set; }

Property Value

Uri

ActiveLayerName

Gets or sets the name of the WMTS layer to display.

public string ActiveLayerName { get; set; }

Property Value

string

ActiveStyleName

Gets or sets the style name applied to the active WMTS layer.

public string ActiveStyleName { get; set; }

Property Value

string

TileMatrixSetName

Gets or sets the TileMatrixSet identifier (e.g. "EPSG:3857").

public string TileMatrixSetName { get; set; }

Property Value

string

OutputFormat

Gets or sets the tile output format (e.g. "image/png").

public string OutputFormat { get; set; }

Property Value

string

Parameters

Gets or sets additional key/value query parameters appended to every request.

public Dictionary<string, string> Parameters { get; set; }

Property Value

Dictionary<string, string>

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

WmtsTileOverlay()

public WmtsTileOverlay()

Methods

BuildRenderTree(RenderTreeBuilder)

protected void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

Returns

void

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

RedrawAsync()

public Task RedrawAsync()

Returns

Task