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 (to find x and y).
Live sample - using MapMouseEvent (to "Identify").
Live sample - using MapMouseEvent (to do reverse geocoding).


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
  MAP_MOUSE_DOWN : String = mapMouseDown
[static] Defines the value of the type property of a mapMouseDown 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.

MAP_MOUSE_DOWNConstant 
public static const MAP_MOUSE_DOWN:String = mapMouseDown

Since : ArcGIS API for Flex 2.1

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