dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Interfaces

ILayersMixin Interface

Interface for types GroupLayer

public interface ILayersMixin :
dymaptic.GeoBlazor.Core.Interfaces.IMapComponent

Implements IMapComponent

Properties

ILayersMixin.Layers Property

A collection of operational layers.
ArcGIS Maps SDK for JavaScript

System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>? Layers { get; set; }

Property Value

System.Collections.Generic.IReadOnlyList<Layer>

Methods

ILayersMixin.Add(Layer, int) Method

Adds a layer to the layers collection.
param index A layer can be added at a specified index in the layers collection. If no index is specified or the index specified is greater than the current number of layers, the layer is automatically appended to the list of layers in the layers collection and the index is normalized.
ArcGIS Maps SDK for JavaScript

System.Threading.Tasks.Task Add(dymaptic.GeoBlazor.Core.Components.Layers.Layer layer, int index);

Parameters

layer Layer

Layer or a promise that resolves to a layer to add to the layers collection.

index System.Int32

A layer can be added at a specified index in the layers collection. If no index is specified or the index specified is greater than the current number of layers, the layer is automatically appended to the list of layers in the layers collection and the index is normalized.

Returns

System.Threading.Tasks.Task

ILayersMixin.AddMany(IReadOnlyCollection, int) Method

Adds a layer or an array of layers to the layers collection.
param index A layer can be added at a specified index in the layers collection. If no index is specified or the index specified is greater than the current number of layers, the layer is automatically appended to the list of layers in the layers collection and the index is normalized.
ArcGIS Maps SDK for JavaScript

System.Threading.Tasks.Task AddMany(System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Components.Layers.Layer> layers, int index);

Parameters

layers System.Collections.Generic.IReadOnlyCollection<Layer>

Layer(s) to be added to the layers collection.

index System.Int32

A layer can be added at a specified index in the layers collection. If no index is specified or the index specified is greater than the current number of layers, the layer is automatically appended to the list of layers in the layers collection and the index is normalized.

Returns

System.Threading.Tasks.Task

ILayersMixin.AddToLayers(Layer[]) Method

Asynchronously add elements to the Layers property.

System.Threading.Tasks.Task AddToLayers(params dymaptic.GeoBlazor.Core.Components.Layers.Layer[] values);

Parameters

values Layer[]

Returns

System.Threading.Tasks.Task

ILayersMixin.FindLayerById(string) Method

Returns a layer based on the given layer ID.
ArcGIS Maps SDK for JavaScript

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Layer?> FindLayerById(string layerId);

Parameters

layerId System.String

The ID assigned to the layer.

Returns

System.Threading.Tasks.Task<Layer>

ILayersMixin.GetLayers() Method

Asynchronously retrieve the current value of the Layers property.

System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>?> GetLayers();

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Layer>>

ILayersMixin.Remove(Layer) Method

Removes the specified layer from the layers collection.
ArcGIS Maps SDK for JavaScript

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Layer?> Remove(dymaptic.GeoBlazor.Core.Components.Layers.Layer layer);

Parameters

layer Layer

Layer to remove from the layers collection.

Returns

System.Threading.Tasks.Task<Layer>

ILayersMixin.RemoveAll() Method

Removes all layers.
ArcGIS Maps SDK for JavaScript

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Layer[]?> RemoveAll();

Returns

System.Threading.Tasks.Task<Layer[]>

ILayersMixin.RemoveFromLayers(Layer[]) Method

Asynchronously remove elements from the Layers property.

System.Threading.Tasks.Task RemoveFromLayers(params dymaptic.GeoBlazor.Core.Components.Layers.Layer[] values);

Parameters

values Layer[]

Returns

System.Threading.Tasks.Task

ILayersMixin.RemoveMany(IReadOnlyCollection) Method

Removes the specified layers.
ArcGIS Maps SDK for JavaScript

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Layer[]?> RemoveMany(System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Components.Layers.Layer> layers);

Parameters

layers System.Collections.Generic.IReadOnlyCollection<Layer>

Array of layers to remove from the layers collection.

Returns

System.Threading.Tasks.Task<Layer[]>

ILayersMixin.Reorder(Layer, int) Method

Changes the layer order.
param index The index location for placing the layer. The bottom-most layer has an index of 0.
ArcGIS Maps SDK for JavaScript

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Layer?> Reorder(dymaptic.GeoBlazor.Core.Components.Layers.Layer layer, int index);

Parameters

layer Layer

The layer to be moved.

index System.Int32

The index location for placing the layer. The bottom-most layer has an index of 0.

Returns

System.Threading.Tasks.Task<Layer>

ILayersMixin.SetLayers(IReadOnlyList) Method

Asynchronously set the value of the Layers property after render.

System.Threading.Tasks.Task SetLayers(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer> value);

Parameters

value System.Collections.Generic.IReadOnlyList<Layer>

Returns

System.Threading.Tasks.Task