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¶
Name¶
The human-readable name for the layer.
public string Name { get; set; }
Property Value¶
ParentLayerId¶
For sub-layers, this is the parent's id; root layers use -1.
public int ParentLayerId { get; set; }
Property Value¶
DefaultVisibility¶
A boolean(true/false) controlling initial layer visibility.
public bool DefaultVisibility { get; set; }
Property Value¶
Type¶
The layer type (e.g., "Feature Layer", "Group Layer").
public string Type { get; set; }
Property Value¶
GeometryType¶
Present for feature layers(e.g., esriGeometryPolyline); omitted for "Group Layer".
public string GeometryType { get; set; }
Property Value¶
SubLayerIds¶
Lists the ids of layers nested within a Group Layer; can be null.
public Collection<int> SubLayerIds { get; set; }
Property Value¶
MinScale¶
Define the scale range where the layer is visible.
public Nullable<double> MinScale { get; set; }
Property Value¶
MaxScale¶
Define the scale range where the layer is visible.
public Nullable<double> MaxScale { get; set; }
Property Value¶
SupportsDynamicLegends¶
Indicating if the legend can change with scale.
public Nullable<bool> SupportsDynamicLegends { get; set; }
Property Value¶
SrId¶
Indicating the spatial reference system.
public Nullable<int> SrId { get; set; }
Property Value¶
Constructors¶
ArcGisServerRestLayerInfo()¶
public ArcGisServerRestLayerInfo()
Methods¶
Clone()¶
internal ArcGisServerRestLayerInfo Clone()