GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components.Layers

ImageryTileLayerProExtensions Class

Pro Extension methods for the ImageryTileLayer class.

public static class ImageryTileLayerProExtensions

Inheritance System.Object 🡒 ImageryTileLayerProExtensions

Methods

ImageryTileLayerProExtensions.ComputeStatisticsHistograms(this ImageryTileLayer, ImageHistogramParameters, RequestOptions, CancellationToken) Method

Computes statistics and histograms
for the provided ImageHistogramParameters.
param requestOptions Additional options to be used for the data request (will override requestOptions defined during construction).
ArcGIS Maps SDK for JavaScript

public static System.Threading.Tasks.Task<string?> ComputeStatisticsHistograms(this dymaptic.GeoBlazor.Core.Components.Layers.ImageryTileLayer imageryTileLayer, dymaptic.GeoBlazor.Pro.Model.ImageHistogramParameters parameters, dymaptic.GeoBlazor.Core.Options.RequestOptions requestOptions, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

Parameters

imageryTileLayer dymaptic.GeoBlazor.Core.Components.Layers.ImageryTileLayer

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

parameters ImageHistogramParameters

Specifies parameters for computing statistics and histograms.

requestOptions dymaptic.GeoBlazor.Core.Options.RequestOptions

Additional options to be used for the data request
(will override requestOptions defined during construction).

cancellationToken System.Threading.CancellationToken

The CancellationToken to cancel an asynchronous operation.

Returns

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

ImageryTileLayerProExtensions.CreatePopupTemplate(this ImageryTileLayer, CreatePopupTemplateOptions) Method

Creates a default popup template for the layer, populated with all the fields of the layer.
ArcGIS Maps SDK for JavaScript

public static System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Popups.PopupTemplate?> CreatePopupTemplate(this dymaptic.GeoBlazor.Core.Components.Layers.ImageryTileLayer imageryTileLayer, dymaptic.GeoBlazor.Core.Options.CreatePopupTemplateOptions options);

Parameters

imageryTileLayer dymaptic.GeoBlazor.Core.Components.Layers.ImageryTileLayer

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

options dymaptic.GeoBlazor.Core.Options.CreatePopupTemplateOptions

Options for creating the popup template.

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Popups.PopupTemplate>

ImageryTileLayerProExtensions.FetchPixels(this ImageryTileLayer, Extent, int, int, ImageryTileMixinFetchPixelsOptions, CancellationToken) Method

Fetches pixels for a given extent.
param width The width of the image in pixels.
param options The parameter options is an object with the following properties.
param options.signal An AbortSignal to abort the request. If canceled, the promise will be rejected with an error named AbortError. See also AbortController.
ArcGIS Maps SDK for JavaScript

public static System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.PixelData?> FetchPixels(this dymaptic.GeoBlazor.Core.Components.Layers.ImageryTileLayer imageryTileLayer, dymaptic.GeoBlazor.Core.Components.Geometries.Extent extent, int width, int height, dymaptic.GeoBlazor.Core.Options.ImageryTileMixinFetchPixelsOptions options, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

Parameters

imageryTileLayer dymaptic.GeoBlazor.Core.Components.Layers.ImageryTileLayer

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

extent dymaptic.GeoBlazor.Core.Components.Geometries.Extent

The extent of the image to export.

width System.Int32

The width of the image in pixels.

height System.Int32

The height of the image in pixels.

options dymaptic.GeoBlazor.Core.Options.ImageryTileMixinFetchPixelsOptions

  • options.interpolation: Added at version 4.23. Defines how to interpolate pixel values.

cancellationToken System.Threading.CancellationToken

The CancellationToken to cancel an asynchronous operation.

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.PixelData>

ImageryTileLayerProExtensions.FetchTile(this ImageryTileLayer, 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.
ArcGIS Maps SDK for JavaScript

public static System.Threading.Tasks.Task<string?> FetchTile(this dymaptic.GeoBlazor.Core.Components.Layers.ImageryTileLayer imageryTileLayer, double level, double row, double col, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

Parameters

imageryTileLayer dymaptic.GeoBlazor.Core.Components.Layers.ImageryTileLayer

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

ImageryTileLayerProExtensions.GenerateRasterInfo(this ImageryTileLayer, RasterFunction, CancellationToken) Method

Generates a new raster info for the specified client side raster function.
param options An object with the following properties.
ArcGIS Maps SDK for JavaScript

public static System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.RasterInfo?> GenerateRasterInfo(this dymaptic.GeoBlazor.Core.Components.Layers.ImageryTileLayer imageryTileLayer, dymaptic.GeoBlazor.Core.Components.RasterFunction rasterFunction, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

Parameters

imageryTileLayer dymaptic.GeoBlazor.Core.Components.Layers.ImageryTileLayer

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

rasterFunction dymaptic.GeoBlazor.Core.Components.RasterFunction

Raster function for the requested raster info.

cancellationToken System.Threading.CancellationToken

The CancellationToken to cancel an asynchronous operation.

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.RasterInfo>

ImageryTileLayerProExtensions.Identify(this ImageryTileLayer, Point, RasterIdentifyOptions, CancellationToken) Method

Identify pixel values at a given location.
param options Optional settings for the identify request. At version 4.25, the transposedVariableName was added to get pixel values from specific dimensional definitions if the ImageryTileLayer references a transposed multidimensional image service. Set the transposedVariableName and multidimensionalDefinition get pixel values for the specified dimensional definitions from a transposed multidimensional service. If multidimensionalDefinition is not specified, pixel values will be returned from all the dimensional slices.
ArcGIS Maps SDK for JavaScript

public static System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.RasterIdentifyResult?> Identify(this dymaptic.GeoBlazor.Core.Components.Layers.ImageryTileLayer imageryTileLayer, dymaptic.GeoBlazor.Core.Components.Geometries.Point point, dymaptic.GeoBlazor.Core.Options.RasterIdentifyOptions options, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

Parameters

imageryTileLayer dymaptic.GeoBlazor.Core.Components.Layers.ImageryTileLayer

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

point dymaptic.GeoBlazor.Core.Components.Geometries.Point

Input point that defines the location to be identified.

options dymaptic.GeoBlazor.Core.Options.RasterIdentifyOptions

Optional settings for the identify request.
At version 4.25, the

transposedVariableName  
``` was added to get pixel values from specific dimensional definitions if the <a href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryTileLayer.html">ImageryTileLayer</a>  
references a <a href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-RasterInfo.html#hasMultidimensionalTranspose">transposed multidimensional</a> image service.  
Set the   
  
```csharp  
transposedVariableName  
``` and   
  
```csharp  
multidimensionalDefinition  
``` get pixel values for the specified dimensional definitions from a transposed multidimensional service.  
If   
  
```csharp  
multidimensionalDefinition  
``` is not specified, pixel values will be returned from all the dimensional slices.

<a name='dymaptic.GeoBlazor.Pro.Components.Layers.ImageryTileLayerProExtensions.Identify(thisdymaptic.GeoBlazor.Core.Components.Layers.ImageryTileLayer,dymaptic.GeoBlazor.Core.Components.Geometries.Point,dymaptic.GeoBlazor.Core.Options.RasterIdentifyOptions,System.Threading.CancellationToken).cancellationToken'></a>

`cancellationToken` [System.Threading.CancellationToken](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.CancellationToken 'System.Threading.CancellationToken')

The CancellationToken to cancel an asynchronous operation.

#### Returns
[System.Threading.Tasks.Task&lt;](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task-1 'System.Threading.Tasks.Task`1')[dymaptic.GeoBlazor.Core.Results.RasterIdentifyResult](https://docs.microsoft.com/en-us/dotnet/api/dymaptic.GeoBlazor.Core.Results.RasterIdentifyResult 'dymaptic.GeoBlazor.Core.Results.RasterIdentifyResult')[&gt;](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task-1 'System.Threading.Tasks.Task`1')

<a name='dymaptic.GeoBlazor.Pro.Components.Layers.ImageryTileLayerProExtensions.Save(thisdymaptic.GeoBlazor.Core.Components.Layers.ImageryTileLayer,dymaptic.GeoBlazor.Pro.Options.ImageryTileLayerSaveOptions)'></a>

## ImageryTileLayerProExtensions.Save(this ImageryTileLayer, ImageryTileLayerSaveOptions) Method

Saves the layer to its existing portal item in the <a target="_blank" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-Portal.html">Portal</a>  
                authenticated within the user's current session.  
                param options.ignoreUnsupported Indicates whether to ignore saving unsupported layers or layers with unsupported content, such as unsupported symbology.  
                <a target="_blank" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryTileLayer.html#save">ArcGIS Maps SDK for JavaScript</a>

```csharp
public static System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.PortalItem?> Save(this dymaptic.GeoBlazor.Core.Components.Layers.ImageryTileLayer imageryTileLayer, dymaptic.GeoBlazor.Pro.Options.ImageryTileLayerSaveOptions options);

Parameters

imageryTileLayer dymaptic.GeoBlazor.Core.Components.Layers.ImageryTileLayer

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

options ImageryTileLayerSaveOptions

Various options for saving the layer.

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.PortalItem>

ImageryTileLayerProExtensions.SaveAs(this ImageryTileLayer, PortalItem, ImageryTileLayerSaveAsOptions) Method

Saves the layer to a new portal item in the Portal authenticated within the user’s current session.
param options Various options for saving the layer.
param options.ignoreUnsupported Indicates whether to ignore saving unsupported layers or layers with unsupported content, such as unsupported symbology.
ArcGIS Maps SDK for JavaScript

public static System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.PortalItem?> SaveAs(this dymaptic.GeoBlazor.Core.Components.Layers.ImageryTileLayer imageryTileLayer, dymaptic.GeoBlazor.Core.Components.PortalItem portalItem, dymaptic.GeoBlazor.Pro.Options.ImageryTileLayerSaveAsOptions options);

Parameters

imageryTileLayer dymaptic.GeoBlazor.Core.Components.Layers.ImageryTileLayer

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

portalItem dymaptic.GeoBlazor.Core.Components.PortalItem

The portal item to which the layer will be saved.

options ImageryTileLayerSaveAsOptions

  • options.folder: The portal folder where the layer’s portal item will be saved.

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.PortalItem>