Packagecom.yahoo.maps.api
Classpublic class YahooMapEvent
InheritanceYahooMapEvent Inheritance flash.events.Event

The MapEvent class represents the event object passed to the event listener for events dispatched by the YahooMap object.



Public Properties
 PropertyDefined by
  data : Object
The event data object
YahooMapEvent
Public Methods
 MethodDefined by
  
YahooMapEvent(type:String, data:Object = null, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new YahooMapEvent object.
YahooMapEvent
  
clone():Event
Duplicates an instance of an Event subclass.
YahooMapEvent
  
toString():String
YahooMapEvent
Public Constants
 ConstantDefined by
  HYBRID_TILE_LOADED : String = "hybridTileLoaded"
[static] A string containing the name of the HYBRID_TILE_LOADED event
YahooMapEvent
  MAP_BASE_COMPLETE : String = "mapBaseComplete"
[static] A string containing the name of the MAP_BASE_COMPLETE event
YahooMapEvent
  MAP_CLICK : String = "mapMouseClick"
[static] Deprecated since 0.9.3 Please use YahooMapEvent.MAP_MOUSE_CLICK
YahooMapEvent
  MAP_DOUBLE_CLICK : String = "mapMouseDoubleClick"
[static] Deprecated since 0.9.3 Please use YahooMapEvent.MAP_MOUSE_DOUBLE_CLICK
YahooMapEvent
  MAP_DRAG : String = "mapDrag"
[static] A string containing the name of the MAP_DRAG event
YahooMapEvent
  MAP_DRAG_START : String = "mapDragStart"
[static] A string containing the name of the MAP_DRAG_START event
YahooMapEvent
  MAP_DRAG_STOP : String = "mapDragStop"
[static] A string containing the name of the MAP_DRAG_STOP event
YahooMapEvent
  MAP_INITIALIZE : String = "mapInitialize"
[static] A string containing the name of the MAP_INITIALIZE event
YahooMapEvent
  MAP_MOUSE_CLICK : String = "mapMouseClick"
[static] A string containing the name of the MAP_MOUSE_CLICK event.
YahooMapEvent
  MAP_MOUSE_DOUBLE_CLICK : String = "mapMouseDoubleClick"
[static] A string containing the name of the MAP_MOUSE_DOUBLE_CLICK event.
YahooMapEvent
  MAP_MOUSE_DOWN : String = "mapMouseDown"
[static] A string containing the name of the MAP_MOUSE_DOWN event.
YahooMapEvent
  MAP_MOUSE_MOVE : String = "mapMouseMove"
[static] A string containing the name of the MAP_MOVE_MOVE event.
YahooMapEvent
  MAP_MOUSE_UP : String = "mapMouseUp"
[static] A string containing the name of the MAP_MOUSE_UP event.
YahooMapEvent
  MAP_MOVE : String = "mapMove"
[static] A string containing the name of the MAP_MOVE event
YahooMapEvent
  MAP_RESIZE : String = "mapResize"
[static] A string containing the name of the MAP_RESIZE event
YahooMapEvent
  MAP_TILE_LOADED : String = "mapTileLoaded"
[static] A string containing the name of the MAP_TILE_LOADED event
YahooMapEvent
  MAP_TILES_LOADED : String = "mapTilesLoaded"
[static] A string containing the name of the MAP_TILES_LOADED event
YahooMapEvent
  MAP_TYPE_CHANGED : String = "mapTypeChanged"
[static] A string containing the name of the MAP_TYPE_CHANGED event
YahooMapEvent
  MAP_ZOOM : String = "mapZoom"
[static] A string containing the name of the MAP_ZOOM event
YahooMapEvent
  TILE_COPYRIGHT_LOADED : String = "tileCopyrightLoaded"
[static] A string containing the name of the TILE_COPYRIGHT_LOADED event
YahooMapEvent
  TILE_LOAD_ERROR : String = "tileLoadError"
[static] A string containing the name of the TILE_LOAD_ERROR event
YahooMapEvent
Property detail
dataproperty
data:Object  [read-write]

The event data object

Implementation
    public function get data():Object
    public function set data(value:Object):void
Constructor detail
YahooMapEvent()constructor
public function YahooMapEvent(type:String, data:Object = null, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a new YahooMapEvent object.

Parameters
type:String
 
data:Object (default = null)
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Method detail
clone()method
public override function clone():Event

Duplicates an instance of an Event subclass.

Returns
Event
toString()method 
public override function toString():String

Returns
String
Constant detail
HYBRID_TILE_LOADEDconstant
public static const HYBRID_TILE_LOADED:String = "hybridTileLoaded"

A string containing the name of the HYBRID_TILE_LOADED event

MAP_BASE_COMPLETEconstant 
public static const MAP_BASE_COMPLETE:String = "mapBaseComplete"

A string containing the name of the MAP_BASE_COMPLETE event

MAP_CLICKconstant 
public static const MAP_CLICK:String = "mapMouseClick"

Deprecated since 0.9.3 Please use YahooMapEvent.MAP_MOUSE_CLICK

MAP_DOUBLE_CLICKconstant 
public static const MAP_DOUBLE_CLICK:String = "mapMouseDoubleClick"

Deprecated since 0.9.3 Please use YahooMapEvent.MAP_MOUSE_DOUBLE_CLICK

MAP_DRAGconstant 
public static const MAP_DRAG:String = "mapDrag"

A string containing the name of the MAP_DRAG event

MAP_DRAG_STARTconstant 
public static const MAP_DRAG_START:String = "mapDragStart"

A string containing the name of the MAP_DRAG_START event

MAP_DRAG_STOPconstant 
public static const MAP_DRAG_STOP:String = "mapDragStop"

A string containing the name of the MAP_DRAG_STOP event

MAP_INITIALIZEconstant 
public static const MAP_INITIALIZE:String = "mapInitialize"

A string containing the name of the MAP_INITIALIZE event

MAP_MOUSE_CLICKconstant 
public static const MAP_MOUSE_CLICK:String = "mapMouseClick"

A string containing the name of the MAP_MOUSE_CLICK event.

MAP_MOUSE_DOUBLE_CLICKconstant 
public static const MAP_MOUSE_DOUBLE_CLICK:String = "mapMouseDoubleClick"

A string containing the name of the MAP_MOUSE_DOUBLE_CLICK event.

MAP_MOUSE_DOWNconstant 
public static const MAP_MOUSE_DOWN:String = "mapMouseDown"

A string containing the name of the MAP_MOUSE_DOWN event.

MAP_MOUSE_MOVEconstant 
public static const MAP_MOUSE_MOVE:String = "mapMouseMove"

A string containing the name of the MAP_MOVE_MOVE event.

MAP_MOUSE_UPconstant 
public static const MAP_MOUSE_UP:String = "mapMouseUp"

A string containing the name of the MAP_MOUSE_UP event.

MAP_MOVEconstant 
public static const MAP_MOVE:String = "mapMove"

A string containing the name of the MAP_MOVE event

MAP_RESIZEconstant 
public static const MAP_RESIZE:String = "mapResize"

A string containing the name of the MAP_RESIZE event

MAP_TILE_LOADEDconstant 
public static const MAP_TILE_LOADED:String = "mapTileLoaded"

A string containing the name of the MAP_TILE_LOADED event

MAP_TILES_LOADEDconstant 
public static const MAP_TILES_LOADED:String = "mapTilesLoaded"

A string containing the name of the MAP_TILES_LOADED event

MAP_TYPE_CHANGEDconstant 
public static const MAP_TYPE_CHANGED:String = "mapTypeChanged"

A string containing the name of the MAP_TYPE_CHANGED event

MAP_ZOOMconstant 
public static const MAP_ZOOM:String = "mapZoom"

A string containing the name of the MAP_ZOOM event

TILE_COPYRIGHT_LOADEDconstant 
public static const TILE_COPYRIGHT_LOADED:String = "tileCopyrightLoaded"

A string containing the name of the TILE_COPYRIGHT_LOADED event

TILE_LOAD_ERRORconstant 
public static const TILE_LOAD_ERROR:String = "tileLoadError"

A string containing the name of the TILE_LOAD_ERROR event