Packagecom.esri.aws.awx.map.layers
Classpublic class LayerVisibility
InheritanceLayerVisibility Inheritance flash.events.EventDispatcher

LayerVisibility sets the visibility for a layer.

See also

com.esri.aws.awx.events.LayerVisibilityEvent


Public Properties
 PropertyDefined by
  name : String
The name of the layer.
LayerVisibility
  visible : Boolean
The visibility of the layer.
LayerVisibility
Public Methods
 MethodDefined by
  
LayerVisibility(name:String = null, visible:Boolean = true)
Creates an event for LayerVisibility changes.
LayerVisibility
Events
 EventSummaryDefined by
   Used to detect when the layerVisibility has been changed.LayerVisibility
Property detail
nameproperty
public var name:String

The name of the layer.

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

visibleproperty 
public var visible:Boolean

The visibility of the layer.

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

Constructor detail
LayerVisibility()constructor
public function LayerVisibility(name:String = null, visible:Boolean = true)

Creates an event for LayerVisibility changes.

Parameters
name:String (default = null) — the name of the layer.
 
visible:Boolean (default = true) — true if the layer should be visible, false otherwise.
Event detail
visibilityChangeevent 
Event object type: com.esri.aws.awx.events.LayerVisibilityEvent
LayerVisibilityEvent.type property = com.esri.aws.awx.events.LayerVisibilityEvent.VISIBILITY_CHANGE

Used to detect when the layerVisibility has been changed.