dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

DynamicMapLayer Class

A dynamic map layer refers to a layer published in a map service that has dynamic layers enabled. ArcGIS Maps SDK for JavaScript

public class DynamicMapLayer : dymaptic.GeoBlazor.Core.Components.DynamicLayer

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 DynamicLayer 🡒 DynamicMapLayer

Constructors

DynamicMapLayer() Constructor

Parameterless constructor for use as a Razor Component.

public DynamicMapLayer();

DynamicMapLayer(long, string) Constructor

Creates a new DynamicMapLayer in code with parameters.

public DynamicMapLayer(long mapLayerId, string? gdbVersion=null);

Parameters

mapLayerId System.Int64

The id of the service sublayer. ArcGIS Maps SDK for JavaScript

gdbVersion System.String

An optional property for specifying the GDB version. ArcGIS Maps SDK for JavaScript

Properties

DynamicMapLayer.GdbVersion Property

An optional property for specifying the GDB version.

public string? GdbVersion { get; set; }

Property Value

System.String

DynamicMapLayer.MapLayerId Property

The id of the service sublayer. ArcGIS Maps SDK for JavaScript

public System.Nullable<long> MapLayerId { get; set; }

Property Value

System.Nullable<System.Int64>

DynamicMapLayer.Type Property

The type of dynamic layer

public override string Type { get; }

Property Value

System.String

Methods

DynamicMapLayer.GetGdbVersion() Method

Asynchronously retrieve the current value of the GdbVersion property.

public System.Threading.Tasks.Task<string?> GetGdbVersion();

Returns

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

DynamicMapLayer.GetMapLayerId() Method

Asynchronously retrieve the current value of the MapLayerId property.

public System.Threading.Tasks.Task<System.Nullable<long>> GetMapLayerId();

Returns

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

DynamicMapLayer.SetGdbVersion(string) Method

Asynchronously set the value of the GdbVersion property after render.

public System.Threading.Tasks.Task SetGdbVersion(string? value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

DynamicMapLayer.SetMapLayerId(long) Method

Asynchronously set the value of the MapLayerId property after render.

public System.Threading.Tasks.Task SetMapLayerId(long value);

Parameters

value System.Int64

The value to set.

Returns

System.Threading.Tasks.Task

DynamicMapLayer.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()