Packagecom.yahoo.maps.api.markers.events
Classpublic class MarkerEvent
InheritanceMarkerEvent Inheritance flash.events.Event

The MarkerEvent class represents the event object passed to the event listener for events dispatched by the Marker object



Public Properties
 PropertyDefined by
  data : Object
The event data object
MarkerEvent
Public Methods
 MethodDefined by
  
MarkerEvent(type:String, data:Object = null, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new MarkerEvent object
MarkerEvent
Public Constants
 ConstantDefined by
  MARKER_ADDED : String = "markerAdded"
[static] A string containing the name of the MARKER_ADDED event
MarkerEvent
  MARKER_CLOSE : String = "markerClose"
[static] A string containing the name of the MARKER_CLOSE event
MarkerEvent
  MARKER_DRAG : String = "markerDrag"
[static] A string containing the name of the MARKER_DRAG event
MarkerEvent
  MARKER_DRAG_START : String = "markerDragStart"
[static] A string containing the name of the MARKER_DRAG_START event
MarkerEvent
  MARKER_DRAG_STOP : String = "markerDragStop"
[static] A string containing the name of the MARKER_DRAG_STOP event
MarkerEvent
  MARKER_GEOCODE_ERROR : String = "markerGeocodeError"
[static] A string containing the name of the MARKER_GEOCODE_ERROR event
MarkerEvent
  MARKER_GEOCODE_SUCCESS : String = "markerGeocodeSuccess"
[static] A string containing the name of the MARKER_GEOCODE_SUCCESS event
MarkerEvent
  MARKER_OPEN : String = "markerOpen"
[static] A string containing the name of the MARKER_OPEN event
MarkerEvent
  MARKER_REMOVED : String = "markerRemoved"
[static] A string containing the name of the MARKER_REMOVED event
MarkerEvent
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
MarkerEvent()constructor
public function MarkerEvent(type:String, data:Object = null, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a new MarkerEvent object

Parameters
type:String
 
data:Object (default = null)
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Constant detail
MARKER_ADDEDconstant
public static const MARKER_ADDED:String = "markerAdded"

A string containing the name of the MARKER_ADDED event

MARKER_CLOSEconstant 
public static const MARKER_CLOSE:String = "markerClose"

A string containing the name of the MARKER_CLOSE event

MARKER_DRAGconstant 
public static const MARKER_DRAG:String = "markerDrag"

A string containing the name of the MARKER_DRAG event

MARKER_DRAG_STARTconstant 
public static const MARKER_DRAG_START:String = "markerDragStart"

A string containing the name of the MARKER_DRAG_START event

MARKER_DRAG_STOPconstant 
public static const MARKER_DRAG_STOP:String = "markerDragStop"

A string containing the name of the MARKER_DRAG_STOP event

MARKER_GEOCODE_ERRORconstant 
public static const MARKER_GEOCODE_ERROR:String = "markerGeocodeError"

A string containing the name of the MARKER_GEOCODE_ERROR event

MARKER_GEOCODE_SUCCESSconstant 
public static const MARKER_GEOCODE_SUCCESS:String = "markerGeocodeSuccess"

A string containing the name of the MARKER_GEOCODE_SUCCESS event

MARKER_OPENconstant 
public static const MARKER_OPEN:String = "markerOpen"

A string containing the name of the MARKER_OPEN event

MARKER_REMOVEDconstant 
public static const MARKER_REMOVED:String = "markerRemoved"

A string containing the name of the MARKER_REMOVED event