GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components

FeatureServiceLayerInfo Class

Contains information for a layer in the Feature Service.
ArcGIS Maps SDK for JavaScript

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

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 dymaptic.GeoBlazor.Core.Components.MapComponent 🡒 FeatureServiceLayerInfo

Constructors

FeatureServiceLayerInfo() Constructor

Parameterless constructor for use as a Razor Component.

public FeatureServiceLayerInfo();

FeatureServiceLayerInfo(Nullable, Nullable, string, string) Constructor

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

public FeatureServiceLayerInfo(System.Nullable<dymaptic.GeoBlazor.Core.Enums.GeometryType> geometryType=null, System.Nullable<long> arcGISLayerId=null, string? name=null, string? url=null);

Parameters

geometryType System.Nullable<dymaptic.GeoBlazor.Core.Enums.GeometryType>

The geometry type of a layer.
ArcGIS Maps SDK for JavaScript

arcGISLayerId System.Nullable<System.Int64>

The id of a layer.
ArcGIS Maps SDK for JavaScript

name System.String

The name of a layer.
ArcGIS Maps SDK for JavaScript

url System.String

The service url of the layer.
ArcGIS Maps SDK for JavaScript

Properties

FeatureServiceLayerInfo.ArcGISLayerId Property

The ArcGIS FeatureService numeric id of a layer.
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<System.Int64>

FeatureServiceLayerInfo.GeometryType Property

The geometry type of a layer.
ArcGIS Maps SDK for JavaScript

public System.Nullable<dymaptic.GeoBlazor.Core.Enums.GeometryType> GeometryType { get; set; }

Property Value

System.Nullable<dymaptic.GeoBlazor.Core.Enums.GeometryType>

FeatureServiceLayerInfo.Name Property

The name of a layer.
ArcGIS Maps SDK for JavaScript

public string? Name { get; set; }

Property Value

System.String

FeatureServiceLayerInfo.Url Property

The service url of the layer.
ArcGIS Maps SDK for JavaScript

public string? Url { get; set; }

Property Value

System.String

Methods

FeatureServiceLayerInfo.GetGeometryType() Method

Asynchronously retrieve the current value of the GeometryType property.

public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.GeometryType>> GetGeometryType();

Returns

System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.GeometryType>>

FeatureServiceLayerInfo.GetLayerInfoId() Method

Asynchronously retrieve the current value of the LayerInfoId property.

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

Returns

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

FeatureServiceLayerInfo.GetName() Method

Asynchronously retrieve the current value of the Name property.

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

Returns

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

FeatureServiceLayerInfo.GetUrl() Method

Asynchronously retrieve the current value of the Url property.

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

Returns

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

FeatureServiceLayerInfo.SetGeometryType(Nullable) Method

Asynchronously set the value of the GeometryType property after render.

public System.Threading.Tasks.Task SetGeometryType(System.Nullable<dymaptic.GeoBlazor.Core.Enums.GeometryType> value);

Parameters

value System.Nullable<dymaptic.GeoBlazor.Core.Enums.GeometryType>

The value to set.

Returns

System.Threading.Tasks.Task

FeatureServiceLayerInfo.SetLayerInfoId(Nullable) Method

Asynchronously set the value of the LayerInfoId property after render.

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

Parameters

value System.Nullable<System.Int64>

The value to set.

Returns

System.Threading.Tasks.Task

FeatureServiceLayerInfo.SetName(string) Method

Asynchronously set the value of the Name property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

FeatureServiceLayerInfo.SetUrl(string) Method

Asynchronously set the value of the Url property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task