Packagenet.systemeD.halcyon
Classpublic class MapEvent
InheritanceMapEvent Inheritance flash.events.Event

Defines map-related events.



Public Properties
 PropertyDefined by
  params : Object
Event-specific parameters.
MapEvent
Public Methods
 MethodDefined by
  
MapEvent(eventname:String, params:Object)
Creates event with name given by a constant, with event-specific parameters.
MapEvent
Public Constants
 ConstantDefined by
  BUMP : String = "bump"
[static] Backrgound imagery has changed to one with attribution that must not be obscured.
MapEvent
  DOWNLOAD : String = "download"
[static] Data has been requested for download.
MapEvent
  ERROR : String = "error"
[static]
MapEvent
  INITIALISED : String = "initialized"
[static] Map has been created and is ready, although data is not yet downloaded.
MapEvent
  MOUSE_MOVE : String = "mouse_move"
[static]
MapEvent
  MOVE : String = "move"
[static] Map has moved relative to viewport.
MapEvent
  NUDGE_BACKGROUND : String = "nudge_background"
[static] Background imagery has moved relative to map.
MapEvent
  RESIZE : String = "resize"
[static] Viewport size has changed.
MapEvent
  SCALE : String = "scale"
[static] Zoom level has changed.
MapEvent
Property detail
paramsproperty
public var params:Object

Event-specific parameters.

Constructor detail
MapEvent()constructor
public function MapEvent(eventname:String, params:Object)

Creates event with name given by a constant, with event-specific parameters.

Parameters
eventname:String
 
params:Object
Constant detail
BUMPconstant
public static const BUMP:String = "bump"

Backrgound imagery has changed to one with attribution that must not be obscured.

DOWNLOADconstant 
public static const DOWNLOAD:String = "download"

Data has been requested for download.

ERRORconstant 
public static const ERROR:String = "error"
INITIALISEDconstant 
public static const INITIALISED:String = "initialized"

Map has been created and is ready, although data is not yet downloaded.

MOUSE_MOVEconstant 
public static const MOUSE_MOVE:String = "mouse_move"
MOVEconstant 
public static const MOVE:String = "move"

Map has moved relative to viewport.

NUDGE_BACKGROUNDconstant 
public static const NUDGE_BACKGROUND:String = "nudge_background"

Background imagery has moved relative to map.

RESIZEconstant 
public static const RESIZE:String = "resize"

Viewport size has changed.

SCALEconstant 
public static const SCALE:String = "scale"

Zoom level has changed.