Packagecom.esri.ags.events
Classpublic class LayerEvent
InheritanceLayerEvent Inheritance flash.events.Event

Represents event objects that are specific to the layer.

See also

com.esri.ags.layers.Layer


Public Properties
 PropertyDefined by
  error : String
Error message for loadError events.
LayerEvent
  layer : Layer
Reference to the associated layer.
LayerEvent
Public Methods
 MethodDefined by
  
LayerEvent(type:String, layer:Layer, error:String = null)
Creates a new LayerEvent.
LayerEvent
Public Constants
 ConstantDefined by
  LOAD : String = "load"
[static] Defines the value of the type property of the event object for a load event.
LayerEvent
  LOAD_ERROR : String = "loadError"
[static] Defines the value of the type property of the event object for a loadError event.
LayerEvent
  TILES_UPDATED : String = "tilesUpdated"
[static] Defines the value of the type property of the event object for a tilesUpdated event.
LayerEvent
Property detail
errorproperty
public var error:String

Error message for loadError events.

layerproperty 
public var layer:Layer

Reference to the associated layer.

Constructor detail
LayerEvent()constructor
public function LayerEvent(type:String, layer:Layer, error:String = null)

Creates a new LayerEvent.

Parameters
type:String — The event type; indicates the action that triggered the event.
 
layer:Layer — Reference to the associated layer.
 
error:String (default = null) — Error message for loadError events.
Constant detail
LOADconstant
public static const LOAD:String = "load"

Defines the value of the type property of the event object for a load event.

LOAD_ERRORconstant 
public static const LOAD_ERROR:String = "loadError"

Defines the value of the type property of the event object for a loadError event.

TILES_UPDATEDconstant 
public static const TILES_UPDATED:String = "tilesUpdated"

Defines the value of the type property of the event object for a tilesUpdated event.