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<Layer> Layers { get; set; }
Property Value¶
GeoCollection<Layer>
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 max extent of TileOverlay.
public RectangleShape MaxExtent { get; set; }
Property Value¶
RectangleShape
TileHeight¶
Gets or sets the height of tile.
public int TileHeight { get; set; }
Property Value¶
TileWidth¶
Gets or sets the width of tile.
public int TileWidth { get; set; }
Property Value¶
WrappingMode¶
Gets or sets whether allow wrap date line.
public WrappingMode WrappingMode { get; set; }
Property Value¶
WrappingMode
Id¶
Gets or sets Id.
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