GeoBlazor Pro
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Components.Layers
WebTileLayerProExtensions Class
Pro Extension methods for the WebTileLayer class.
public static class WebTileLayerProExtensions
Inheritance System.Object 🡒 WebTileLayerProExtensions
Methods
WebTileLayerProExtensions.FetchTile(this WebTileLayer, double, double, double, CancellationToken) Method
This method fetches a tile for the given level, row and column present in the view.
param row The row(y) position of the tile fetch. This value is provided by LayerView.
param options Optional settings for the tile request. The options have the following properties.
ArcGIS Maps SDK for JavaScript
public static System.Threading.Tasks.Task<System.Nullable<Microsoft.AspNetCore.Components.ElementReference>> FetchTile(this dymaptic.GeoBlazor.Core.Components.Layers.WebTileLayer webTileLayer, double level, double row, double col, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
webTileLayer
dymaptic.GeoBlazor.Core.Components.Layers.WebTileLayer
The dymaptic.GeoBlazor.Core.Components.Layers.WebTileLayer instance to extend with this method.
level
System.Double
Level of detail of the tile to fetch. This value is provided by LayerView.
row
System.Double
The row(y) position of the tile fetch. This value is provided by LayerView.
col
System.Double
The column(x) position of the tile to fetch. This value is provided by LayerView.
cancellationToken
System.Threading.CancellationToken
The CancellationToken to cancel an asynchronous operation.
Returns
System.Threading.Tasks.Task<System.Nullable<Microsoft.AspNetCore.Components.ElementReference>>
WebTileLayerProExtensions.GetTileUrl(this WebTileLayer, double, double, double) Method
This method returns a URL to a tile for a given level, row and column.
param row The requested tile’s row.
ArcGIS Maps SDK for JavaScript
public static System.Threading.Tasks.Task<string?> GetTileUrl(this dymaptic.GeoBlazor.Core.Components.Layers.WebTileLayer webTileLayer, double level, double row, double col);
Parameters
webTileLayer
dymaptic.GeoBlazor.Core.Components.Layers.WebTileLayer
The dymaptic.GeoBlazor.Core.Components.Layers.WebTileLayer instance to extend with this method.
level
System.Double
The requested tile’s level.
row
System.Double
The requested tile’s row.
col
System.Double
The requested tile’s column.