Packagecom.esri.ags.layers
Classpublic class LayerDetails

Contains detailed information about a layer in a map service. This is equivalent to the detailed information in the Services Directory, for example http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5.

See also

ArcGISDynamicMapServiceLayer.getLayerDetails()
ArcGISTiledMapServiceLayer.getLayerDetails()


Public Properties
 PropertyDefined by
  copyright : String
The copyright of the layer as specified in the Service Directory.
LayerDetails
  displayField : String
The displayField of the layer as specified in the Service Directory.
LayerDetails
  extent : Extent
The extent of the layer as specified in the Service Directory.
LayerDetails
  fields : Array
The fields of the layer as specified in the Service Directory.
LayerDetails
  geometryType : String
The geometry type of the layer as specified in the Service Directory.
LayerDetails
  id : Number
Layer ID assigned by ArcGIS Server for a layer.
LayerDetails
  maxScale : Number
The maxScale of the layer as specified in the Service Directory.
LayerDetails
  minScale : Number
The minScale of the layer as specified in the Service Directory.
LayerDetails
  name : String
Layer name as defined in the map service.
LayerDetails
  type : String
The type of the layer as specified in the Service Directory.
LayerDetails
Public Methods
 MethodDefined by
  
Creates a new LayerDetails object.
LayerDetails
Property detail
copyrightproperty
public var copyright:String

The copyright of the layer as specified in the Service Directory.

displayFieldproperty 
public var displayField:String

The displayField of the layer as specified in the Service Directory.

extentproperty 
public var extent:Extent

The extent of the layer as specified in the Service Directory.

fieldsproperty 
public var fields:Array

The fields of the layer as specified in the Service Directory.

See also

geometryTypeproperty 
public var geometryType:String

The geometry type of the layer as specified in the Service Directory.

See also

idproperty 
public var id:Number

Layer ID assigned by ArcGIS Server for a layer. The topmost layer is 0, and each layer follows sequentially. If a layer is added or removed from the source map document, the ID values will shift accordingly.

maxScaleproperty 
public var maxScale:Number

The maxScale of the layer as specified in the Service Directory.

minScaleproperty 
public var minScale:Number

The minScale of the layer as specified in the Service Directory.

nameproperty 
public var name:String

Layer name as defined in the map service.

typeproperty 
public var type:String

The type of the layer as specified in the Service Directory.

Constructor detail
LayerDetails()constructor
public function LayerDetails()

Creates a new LayerDetails object.