GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components.Layers

BaseTileLayerProExtensions Class

Pro Extension methods for the BaseTileLayer class.

public static class BaseTileLayerProExtensions

Inheritance System.Object 🡒 BaseTileLayerProExtensions

Methods

BaseTileLayerProExtensions.AddResolvingPromise(this BaseTileLayer, string) Method

Adds a Promise to the layer’s loadable chain.
ArcGIS Maps SDK for JavaScript

public static System.Threading.Tasks.Task AddResolvingPromise(this dymaptic.GeoBlazor.Core.Components.Layers.BaseTileLayer baseTileLayer, string promiseToLoad);

Parameters

baseTileLayer dymaptic.GeoBlazor.Core.Components.Layers.BaseTileLayer

The dymaptic.GeoBlazor.Core.Components.Layers.BaseTileLayer instance to extend with this method.

promiseToLoad System.String

A promise that must resolve for the layer to resolve and move from the loading status to being loaded.

Returns

System.Threading.Tasks.Task

BaseTileLayerProExtensions.FetchTile(this BaseTileLayer, 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.BaseTileLayer baseTileLayer, double level, double row, double col, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

Parameters

baseTileLayer dymaptic.GeoBlazor.Core.Components.Layers.BaseTileLayer

The dymaptic.GeoBlazor.Core.Components.Layers.BaseTileLayer 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>>

BaseTileLayerProExtensions.GetTileUrl(this BaseTileLayer, double, double, double) Method

This method returns a URL to an image for a given level, row and column.
param row Tile row. This value is provided by the LayerView.
ArcGIS Maps SDK for JavaScript

public static System.Threading.Tasks.Task<string?> GetTileUrl(this dymaptic.GeoBlazor.Core.Components.Layers.BaseTileLayer baseTileLayer, double level, double row, double col);

Parameters

baseTileLayer dymaptic.GeoBlazor.Core.Components.Layers.BaseTileLayer

The dymaptic.GeoBlazor.Core.Components.Layers.BaseTileLayer instance to extend with this method.

level System.Double

Level of detail. This value is provided by the LayerView.

row System.Double

Tile row. This value is provided by the
LayerView.

col System.Double

Tile column. This value is provided by the LayerView.

Returns

System.Threading.Tasks.Task<System.String>