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 object → ArcGisServerRestLayerInfo

Properties

Id

Uniquely identifies the layer within the service.

public int Id { get; set; }

Property Value

int

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

int

DefaultVisibility

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

public bool DefaultVisibility { get; set; }

Property Value

bool

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<int>

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<bool>

SrId

Indicating the spatial reference system.

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

Property Value

Nullable<int>

Constructors

ArcGisServerRestLayerInfo()

public ArcGisServerRestLayerInfo()

Methods

dBc=()

internal ArcGisServerRestLayerInfo dBc=()

Returns

ArcGisServerRestLayerInfo