Package | com.esri.bacore.thematicmapping |
Class | public class TMLayerAvailableEvent |
Inheritance | TMLayerAvailableEvent flash.events.Event |
Property | Defined By | ||
---|---|---|---|
isAvailable : Boolean [read-only]
Whether the thematic layer available for the current map scale or not. | TMLayerAvailableEvent | ||
map : Map [read-only]
The map associated with the layer. | TMLayerAvailableEvent |
Method | Defined By | ||
---|---|---|---|
TMLayerAvailableEvent(map:Map, isAvailable:Boolean)
Creates a new instance of the TMLayerAvailableEvent class. | TMLayerAvailableEvent | ||
clone():Event [override]
Creates a clone of the event. | TMLayerAvailableEvent | ||
toString():String [override]
Gets the description of the event. | TMLayerAvailableEvent |
Constant | Defined By | ||
---|---|---|---|
TYPE : String = tmLayerAvailable [static]
The TMLayerAvailableEvent.TYPE constant defines the value of the
type property of the event object for a tmLayerAvailable event. | TMLayerAvailableEvent |
isAvailable | property |
isAvailable:Boolean
[read-only] Whether the thematic layer available for the current map scale or not.
public function get isAvailable():Boolean
map | property |
map:Map
[read-only] The map associated with the layer.
public function get map():Map
TMLayerAvailableEvent | () | Constructor |
public function TMLayerAvailableEvent(map:Map, isAvailable:Boolean)
Creates a new instance of the TMLayerAvailableEvent class.
Parametersmap:Map — The map associated with the layer.
| |
isAvailable:Boolean — Layer availability status for the current map scale.
|
clone | () | method |
override public function clone():Event
Creates a clone of the event.
ReturnsEvent — Shallow copy of the event.
|
toString | () | method |
override public function toString():String
Gets the description of the event.
ReturnsString — String representation of the event.
|
TYPE | Constant |
public static const TYPE:String = tmLayerAvailable
The TMLayerAvailableEvent.TYPE constant defines the value of the
type
property of the event object for a tmLayerAvailable
event.
The properties of the event object have the following values:
Property | Value |
---|---|
babbles | false |
cancelable | false |
currentTarget | The Object that defines the event listener that handles the event. |
isAvailable | Is layer available for the given scale. |
map | The map associated with the layer. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |