Skip to content

ArcGisServerRestLayerInfo

Namespace: ThinkGeo.Core

Describes metadata for an ArcGis Server REST layer, including identity, visibility, and geometry characteristics.

public class ArcGisServerRestLayerInfo

Inheritance ObjectArcGisServerRestLayerInfo

Properties

Id

Uniquely identifies the layer within the service.

public int Id { get; set; }

Property Value

Int32

Name

The human-readable name for the layer.

public string Name { get; set; }

Property Value

String

ParentLayerId

For sub-layers, this is the parent's id; root layers use -1.

public int ParentLayerId { get; set; }

Property Value

Int32

DefaultVisibility

A boolean(true/false) controlling initial layer visibility.

public bool DefaultVisibility { get; set; }

Property Value

Boolean

Type

The layer type (e.g., "Feature Layer", "Group Layer").

public string Type { get; set; }

Property Value

String

GeometryType

Present for feature layers(e.g., esriGeometryPolyline); omitted for "Group Layer".

public string GeometryType { get; set; }

Property Value

String

SubLayerIds

Lists the ids of layers nested within a Group Layer; can be null.

public Collection<int> SubLayerIds { get; set; }

Property Value

Collection<Int32>

MinScale

Define the scale range where the layer is visible.

public Nullable<double> MinScale { get; set; }

Property Value

Nullable<Double>

MaxScale

Define the scale range where the layer is visible.

public Nullable<double> MaxScale { get; set; }

Property Value

Nullable<Double>

SupportsDynamicLegends

Indicating if the legend can change with scale.

public Nullable<bool> SupportsDynamicLegends { get; set; }

Property Value

Nullable<Boolean>

SrId

Indicating the spatial reference system.

public Nullable<int> SrId { get; set; }

Property Value

Nullable<Int32>

Constructors

ArcGisServerRestLayerInfo()

public ArcGisServerRestLayerInfo()

Methods

Clone()

internal ArcGisServerRestLayerInfo Clone()

Returns

ArcGisServerRestLayerInfo