Packagecom.esri.ags.layers.supportClasses
Classpublic class DynamicLayerInfo
InheritanceDynamicLayerInfo Inheritance LayerInfo Inheritance flash.events.EventDispatcher

Since : ArcGIS API 3.0 for Flex

Information about a layer in a map service.

Note: Requires ArcGIS 10.1 or later.

Default MXML Propertysource

See also

Live sample - Change Layer Ordering
Live sample - Dynamic Workspace
Live sample - Using DynamicLayerInfo and JoinDataSource


Public Properties
 PropertyDefined By
 InheriteddefaultVisibility : Boolean
Default visibility of the layers in the map service.
LayerInfo
 InheritedlayerId : Number
Layer ID assigned by ArcGIS Server for a layer.
LayerInfo
 InheritedmaxScale : Number
The maximum scale of the layer as specified in the Service Directory [added in version 2.2].
LayerInfo
 InheritedminScale : Number
The minimum scale of the layer as specified in the Service Directory [added in version 2.2].
LayerInfo
 Inheritedname : String
Layer name as defined in the map service.
LayerInfo
 InheritedparentLayerId : Number
If the layer is part of a group layer, it will include the parent ID of the group layer.
LayerInfo
  source : ILayerSource
The source for the dynamic layer.
DynamicLayerInfo
 InheritedsubLayerIds : Array
If the layer is a parent layer, it will have one or more sublayers included in an array.
LayerInfo
Property Detail
sourceproperty
source:ILayerSource

The source for the dynamic layer. Requires ArcGIS 10.1 or later.

This property can be used as the source for data binding.


Implementation
    public function get source():ILayerSource
    public function set source(value:ILayerSource):void