dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

LayerOptions Class

The LayerOptions class defines additional options that can be
defined for a layer’s PopupTemplate.
ArcGIS Maps SDK for JavaScript

public class LayerOptions : dymaptic.GeoBlazor.Core.Components.MapComponent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 LayerOptions

Constructors

LayerOptions() Constructor

Parameterless constructor for use as a Razor Component.

public LayerOptions();

LayerOptions(Nullable, Nullable) Constructor

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

public LayerOptions(System.Nullable<bool> returnTopmostRaster=null, System.Nullable<bool> showNoDataRecords=null);

Parameters

returnTopmostRaster System.Nullable<System.Boolean>

Applicable to Imagery Layers.
default false
ArcGIS Maps SDK for JavaScript

showNoDataRecords System.Nullable<System.Boolean>

Applicable to Imagery Layers.
default true
ArcGIS Maps SDK for JavaScript

Properties

LayerOptions.ReturnTopmostRaster Property

Applicable to Imagery Layers.
default false
ArcGIS Maps SDK for JavaScript

public System.Nullable<bool> ReturnTopmostRaster { get; set; }

Property Value

System.Nullable<System.Boolean>

LayerOptions.ShowNoDataRecords Property

Applicable to Imagery Layers.
default true
ArcGIS Maps SDK for JavaScript

public System.Nullable<bool> ShowNoDataRecords { get; set; }

Property Value

System.Nullable<System.Boolean>

Methods

LayerOptions.GetReturnTopmostRaster() Method

Asynchronously retrieve the current value of the ReturnTopmostRaster property.

public System.Threading.Tasks.Task<System.Nullable<bool>> GetReturnTopmostRaster();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Boolean>>

LayerOptions.GetShowNoDataRecords() Method

Asynchronously retrieve the current value of the ShowNoDataRecords property.

public System.Threading.Tasks.Task<System.Nullable<bool>> GetShowNoDataRecords();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Boolean>>

LayerOptions.SetReturnTopmostRaster(Nullable) Method

Asynchronously set the value of the ReturnTopmostRaster property after render.

public System.Threading.Tasks.Task SetReturnTopmostRaster(System.Nullable<bool> value);

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

LayerOptions.SetShowNoDataRecords(Nullable) Method

Asynchronously set the value of the ShowNoDataRecords property after render.

public System.Threading.Tasks.Task SetShowNoDataRecords(System.Nullable<bool> value);

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task