dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

ImageryLayerView Class

Represents the LayerView of an ImageryLayer
after it has been added to a Map in either a MapView or
SceneView.
ArcGIS Maps SDK for JavaScript

public class ImageryLayerView : dymaptic.GeoBlazor.Core.Components.LayerView

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 LayerView 🡒 ImageryLayerView

Constructors

ImageryLayerView() Constructor

Parameterless constructor for use as a Razor Component.

public ImageryLayerView();

ImageryLayerView(HighlightOptions, PixelData, Nullable) Constructor

Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.

public ImageryLayerView(dymaptic.GeoBlazor.Core.Components.HighlightOptions? highlightOptions=null, dymaptic.GeoBlazor.Core.Components.PixelData? pixelData=null, System.Nullable<bool> visible=null);

Parameters

highlightOptions HighlightOptions

Options for configuring the highlight.
ArcGIS Maps SDK for JavaScript

pixelData PixelData

An object that provides the user access to
pixels and their values in the layer.
ArcGIS Maps SDK for JavaScript

visible System.Nullable<System.Boolean>

When true, the layer is visible in the view.
default true
ArcGIS Maps SDK for JavaScript

Properties

ImageryLayerView.HighlightOptions Property

Options for configuring the highlight.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.HighlightOptions? HighlightOptions { get; set; }

Property Value

HighlightOptions

ImageryLayerView.PixelData Property

An object that provides the user access to
pixels and their values in the layer.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.PixelData? PixelData { get; set; }

Property Value

PixelData

ImageryLayerView.Type Property

Identifies the layer view type.

public override System.Nullable<dymaptic.GeoBlazor.Core.Enums.LayerType> Type { get; }

Property Value

System.Nullable<LayerType>

Methods

ImageryLayerView.GetHighlightOptions() Method

Asynchronously retrieve the current value of the HighlightOptions property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.HighlightOptions?> GetHighlightOptions();

Returns

System.Threading.Tasks.Task<HighlightOptions>

ImageryLayerView.GetPixelData() Method

Asynchronously retrieve the current value of the PixelData property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.PixelData?> GetPixelData();

Returns

System.Threading.Tasks.Task<PixelData>

ImageryLayerView.Highlight(Graphic) Method

Highlights the given feature(s).

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Handle> Highlight(dymaptic.GeoBlazor.Core.Components.Graphic graphic);

Parameters

graphic Graphic

The Graphic to highlight.

Returns

System.Threading.Tasks.Task<Handle>
A handle that allows the highlight to be removed later.

Exceptions

System.InvalidOperationException
Throws if the graphic has no OBJECTID attribute and was not queried via GeoBlazor.

ImageryLayerView.Highlight(IReadOnlyCollection) Method

Highlights the given feature(s).

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Handle> Highlight(System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Components.Graphic> graphics);

Parameters

graphics System.Collections.Generic.IReadOnlyCollection<Graphic>

The graphics to highlight.

Returns

System.Threading.Tasks.Task<Handle>
A handle that allows the highlight to be removed later.

Exceptions

System.InvalidOperationException
Throws if the graphics have no OBJECTID attribute and were not queried via GeoBlazor.

ImageryLayerView.SetHighlightOptions(HighlightOptions) Method

Asynchronously set the value of the HighlightOptions property after render.

public System.Threading.Tasks.Task SetHighlightOptions(dymaptic.GeoBlazor.Core.Components.HighlightOptions? value);

Parameters

value HighlightOptions

The value to set.

Returns

System.Threading.Tasks.Task

ImageryLayerView.SetPixelData(PixelData) Method

Asynchronously set the value of the PixelData property after render.

public System.Threading.Tasks.Task SetPixelData(dymaptic.GeoBlazor.Core.Components.PixelData? value);

Parameters

value PixelData

The value to set.

Returns

System.Threading.Tasks.Task

ImageryLayerView.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()