LayerOverlay¶
Namespace: ThinkGeo.UI.Blazor
public class LayerOverlay : TileOverlay, Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleEvent, Microsoft.AspNetCore.Components.IHandleAfterRender
Inheritance Object → ComponentBase → Overlay → TileOverlay → LayerOverlay
Implements IComponent, IHandleEvent, IHandleAfterRender
Properties¶
Layers¶
A collection of 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¶
Boolean
true if this instance is cache only; otherwise, false.
IsVisible¶
public bool IsVisible { get; set; }
Property Value¶
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¶
TileWidth¶
Gets or sets the tile width, in pixels, used when requesting imagery from the client.
public int TileWidth { get; set; }
Property Value¶
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¶
Constructors¶
LayerOverlay()¶
public LayerOverlay()
Methods¶
BuildRenderTree(RenderTreeBuilder)¶
protected void BuildRenderTree(RenderTreeBuilder __builder)
Parameters¶
__builder RenderTreeBuilder
DrawTile(GeoCanvas)¶
protected void DrawTile(GeoCanvas canvas)
Parameters¶
canvas GeoCanvas
RedrawAsync()¶
public Task RedrawAsync()
Returns¶
InitAsync()¶
protected internal Task InitAsync()
Returns¶
ReleaseAsync()¶
protected internal Task ReleaseAsync()
Returns¶
OnAfterRenderAsync(Boolean)¶
protected Task OnAfterRenderAsync(bool firstRender)
Parameters¶
firstRender Boolean