| Package | com.esri.ags.events |
| Class | public class LayerEvent |
| Inheritance | LayerEvent flash.events.Event |
See also
| Property | Defined by | ||
|---|---|---|---|
| error : String
Error message for loadError events.
| LayerEvent | ||
| layer : Layer
Reference to the associated layer.
| LayerEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
LayerEvent(type:String, layer:Layer, error:String = null)
Creates a new LayerEvent.
| LayerEvent | ||
| Constant | Defined 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 | ||
| error | property |
public var error:StringError message for loadError events.
| layer | property |
public var layer:LayerReference to the associated layer.
| LayerEvent | () | constructor |
public function LayerEvent(type:String, layer:Layer, error:String = null)Creates a new LayerEvent.
Parameterstype: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.
|
| LOAD | constant |
public static const LOAD:String = "load"
Defines the value of the type property of the event object for a load event.
| LOAD_ERROR | constant |
public static const LOAD_ERROR:String = "loadError"
Defines the value of the type property of the event object for a loadError event.
| TILES_UPDATED | constant |
public static const TILES_UPDATED:String = "tilesUpdated"
Defines the value of the type property of the event object for a tilesUpdated event.