Packagecom.esri.ags.events
Classpublic class MapMouseEvent
InheritanceMapMouseEvent Inheritance flash.events.MouseEvent

Represents event objects that are specific to map mouse events.

See also

com.esri.ags.Map
Live sample - using MapMouseEvent.


Public Properties
 PropertyDefined by
  map : Map
Reference to the associated map.
MapMouseEvent
  mapPoint : MapPoint
The map location that was clicked on.
MapMouseEvent
Public Methods
 MethodDefined by
  
MapMouseEvent(type:String, map:Map, mapPoint:MapPoint)
Creates a new MapMouseEvent.
MapMouseEvent
Public Constants
 ConstantDefined by
  MAP_CLICK : String = "mapClick"
[static] Defines the value of the type property of a mapClick event object.
MapMouseEvent
Property detail
mapproperty
public var map:Map

Reference to the associated map.

mapPointproperty 
public var mapPoint:MapPoint

The map location that was clicked on.

Constructor detail
MapMouseEvent()constructor
public function MapMouseEvent(type:String, map:Map, mapPoint:MapPoint)

Creates a new MapMouseEvent.

Parameters
type:String — The event type; indicates the action that triggered the event.
 
map:Map — Reference to the associated map.
 
mapPoint:MapPoint — The map location that was clicked on.
Constant detail
MAP_CLICKconstant
public static const MAP_CLICK:String = "mapClick"

Defines the value of the type property of a mapClick event object.