| Package | com.esri.aws.awx.map.layers |
| Class | public class LayerVisibility |
| Inheritance | LayerVisibility flash.events.EventDispatcher |
LayerVisibility sets the visibility for a layer.
See also
| Property | Defined by | ||
|---|---|---|---|
| name : String
The name of the layer.
| LayerVisibility | ||
| visible : Boolean
The visibility of the layer.
| LayerVisibility | ||
| Method | Defined by | ||
|---|---|---|---|
|
LayerVisibility(name:String = null, visible:Boolean = true)
Creates an event for LayerVisibility changes.
| LayerVisibility | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| Used to detect when the layerVisibility has been changed. | LayerVisibility | |||
| name | property |
public var name:StringThe name of the layer.
This property can be used as the source for data binding.
| visible | property |
public var visible:BooleanThe visibility of the layer.
This property can be used as the source for data binding.
| LayerVisibility | () | constructor |
public function LayerVisibility(name:String = null, visible:Boolean = true)Creates an event for LayerVisibility changes.
Parametersname:String (default = null) — the name of the layer.
|
|
visible:Boolean (default = true) — true if the layer should be visible, false otherwise.
|
| visibilityChange | event |
com.esri.aws.awx.events.LayerVisibilityEvent
com.esri.aws.awx.events.LayerVisibilityEvent.VISIBILITY_CHANGE
Used to detect when the layerVisibility has been changed.