dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

KMLSublayer Class

Represents a sublayer in a KMLLayer.
ArcGIS Maps SDK for JavaScript

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

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

Constructors

KMLSublayer() Constructor

Parameterless constructor for use as a Razor Component.

public KMLSublayer();

KMLSublayer(string, Nullable, string, Nullable) Constructor

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

public KMLSublayer(string? description=null, System.Nullable<long> kMLSublayerId=null, string? title=null, System.Nullable<bool> visible=null);

Parameters

description System.String

Description for the KML sublayer.
ArcGIS Maps SDK for JavaScript

kMLSublayerId System.Nullable<System.Int64>

The id for the KML sublayer.
ArcGIS Maps SDK for JavaScript

title System.String

The title of the KML sublayer used to identify it in places such as the
LayerList and Legend widgets.
ArcGIS Maps SDK for JavaScript

visible System.Nullable<System.Boolean>

Indicates if the sublayer is visible in the view.
ArcGIS Maps SDK for JavaScript

Properties

KMLSublayer.Description Property

Description for the KML sublayer.
ArcGIS Maps SDK for JavaScript

public string? Description { get; set; }

Property Value

System.String

KMLSublayer.KMLSublayerId Property

The id for the KML sublayer.
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<System.Int64>

Network link info for the current layer.
ArcGIS Maps SDK for JavaScript

public string? NetworkLink { get; set; }

Property Value

System.String

KMLSublayer.SourceJSON Property

The raw KML data for this sublayer, in JSON format, as returned by the
KML utility service.
ArcGIS Maps SDK for JavaScript

public string? SourceJSON { get; set; }

Property Value

System.String

KMLSublayer.Sublayers Property

A collection of KMLSublayers.
ArcGIS Maps SDK for JavaScript

public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.KMLSublayer>? Sublayers { get; set; }

Property Value

System.Collections.Generic.IReadOnlyList<KMLSublayer>

KMLSublayer.Title Property

The title of the KML sublayer used to identify it in places such as the
LayerList and Legend widgets.
ArcGIS Maps SDK for JavaScript

public string? Title { get; set; }

Property Value

System.String

Methods

KMLSublayer.GetDescription() Method

Asynchronously retrieve the current value of the Description property.

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

Returns

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

KMLSublayer.GetKMLSublayerId() Method

Asynchronously retrieve the current value of the KMLSublayerId property.

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

Returns

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

Asynchronously retrieve the current value of the NetworkLink property.

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

Returns

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

KMLSublayer.GetSourceJSON() Method

Asynchronously retrieve the current value of the SourceJSON property.

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

Returns

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

KMLSublayer.GetTitle() Method

Asynchronously retrieve the current value of the Title property.

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

Returns

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

KMLSublayer.SetDescription(string) Method

Asynchronously set the value of the Description property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

KMLSublayer.SetKMLSublayerId(Nullable) Method

Asynchronously set the value of the KMLSublayerId property after render.

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

Parameters

value System.Nullable<System.Int64>

The value to set.

Returns

System.Threading.Tasks.Task

KMLSublayer.SetTitle(string) Method

Asynchronously set the value of the Title property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

KMLSublayer.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()