| Package | com.esri.ags.layers.supportClasses |
| Class | public class LayerInfo |
| Inheritance | LayerInfo flash.events.EventDispatcher |
See also
| Property | Defined By | ||
|---|---|---|---|
| defaultVisibility : Boolean
Default visibility of the layers in the map service. | LayerInfo | ||
| id : Number
Layer ID assigned by ArcGIS Server for a layer. | LayerInfo | ||
| maxScale : Number
The maximum scale of the layer as specified in the Service Directory [added in version 2.2]. | LayerInfo | ||
| minScale : Number
The minimum scale of the layer as specified in the Service Directory [added in version 2.2]. | LayerInfo | ||
| name : String
Layer name as defined in the map service. | LayerInfo | ||
| parentLayerId : Number
If the layer is part of a group layer, it will include the parent ID of the group layer. | LayerInfo | ||
| subLayerIds : Array
If the layer is a parent layer, it will have one or more sublayers included in an array. | LayerInfo | ||
| defaultVisibility | property |
defaultVisibility:BooleanDefault visibility of the layers in the map service.
This property can be used as the source for data binding.
public function get defaultVisibility():Boolean public function set defaultVisibility(value:Boolean):void| id | property |
id:NumberLayer 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.
This property can be used as the source for data binding.
public function get id():Number public function set id(value:Number):void| maxScale | property |
maxScale:Number| Since : | ArcGIS API for Flex 2.2 |
The maximum scale of the layer as specified in the Service Directory [added in version 2.2].
This property can be used as the source for data binding.
public function get maxScale():Number public function set maxScale(value:Number):void| minScale | property |
minScale:Number| Since : | ArcGIS API for Flex 2.2 |
The minimum scale of the layer as specified in the Service Directory [added in version 2.2].
This property can be used as the source for data binding.
public function get minScale():Number public function set minScale(value:Number):void| name | property |
name:StringLayer name as defined in the map service.
This property can be used as the source for data binding.
public function get name():String public function set name(value:String):void| parentLayerId | property |
parentLayerId:NumberIf the layer is part of a group layer, it will include the parent ID of the group layer. Otherwise, the value is -1. If a layer is added or removed from the source map document, the ID values will shift accordingly.
This property can be used as the source for data binding.
public function get parentLayerId():Number public function set parentLayerId(value:Number):void| subLayerIds | property |
subLayerIds:ArrayIf the layer is a parent layer, it will have one or more sublayers included in an array. Otherwise, the value is null. If a layer is added or removed from the source map document, the ID values will shift accordingly.
This property can be used as the source for data binding.
public function get subLayerIds():Array public function set subLayerIds(value:Array):void