GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components.Layers

TileLayerProExtensions Class

Pro Extension methods for the TileLayer class.

public static class TileLayerProExtensions

Inheritance System.Object 🡒 TileLayerProExtensions

Methods

TileLayerProExtensions.CreateServiceSublayers(this TileLayer) Method

Returns a deep clone of a map service’s
sublayers as defined by the service.
ArcGIS Maps SDK for JavaScript

public static System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Sublayer[]?> CreateServiceSublayers(this dymaptic.GeoBlazor.Core.Components.Layers.TileLayer tileLayer);

Parameters

tileLayer dymaptic.GeoBlazor.Core.Components.Layers.TileLayer

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

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Sublayer[]>

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

Parameters

tileLayer dymaptic.GeoBlazor.Core.Components.Layers.TileLayer

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

TileLayerProExtensions.FindSublayerById(this TileLayer, long) Method

Returns the sublayer with the given layerId.
ArcGIS Maps SDK for JavaScript

public static System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Sublayer?> FindSublayerById(this dymaptic.GeoBlazor.Core.Components.Layers.TileLayer tileLayer, long id);

Parameters

tileLayer dymaptic.GeoBlazor.Core.Components.Layers.TileLayer

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

id System.Int64

The id of the sublayer.

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Sublayer>

TileLayerProExtensions.GetTileUrl(this TileLayer, 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.TileLayer tileLayer, double level, double row, double col);

Parameters

tileLayer dymaptic.GeoBlazor.Core.Components.Layers.TileLayer

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

Returns

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

TileLayerProExtensions.LoadAll(this TileLayer) Method

Loads all of the sublayers.
ArcGIS Maps SDK for JavaScript

public static System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.TileLayer?> LoadAll(this dymaptic.GeoBlazor.Core.Components.Layers.TileLayer tileLayer);

Parameters

tileLayer dymaptic.GeoBlazor.Core.Components.Layers.TileLayer

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

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.TileLayer>