Packagecom.esri.ags.events
Classpublic class PanEvent
InheritancePanEvent Inheritance flash.events.Event

Represents event objects that are specific to panning the map.

See also

com.esri.ags.Map


Public Properties
 PropertyDefined by
  extent : Extent
The map extent.
PanEvent
  point : Point
Coordinates in pixel values.
PanEvent
Public Methods
 MethodDefined by
  
PanEvent(type:String, extent:Extent = null, point:Point = null)
Creates a new PanEvent.
PanEvent
Public Constants
 ConstantDefined by
  PAN_END : String = "panEnd"
[static] Defines the value of the type property of a panEnd event object.
PanEvent
  PAN_START : String = "panStart"
[static] Defines the value of the type property of a panStart event object.
PanEvent
  PAN_UPDATE : String = "panUpdate"
[static] Defines the value of the type property of a panUpdate event object.
PanEvent
Property detail
extentproperty
public var extent:Extent

The map extent.

pointproperty 
public var point:Point

Coordinates in pixel values. On panStart, this will be the starting x/y point. On panUpdate, this will be the delta x/y movement. On panEnd, this will be the ending x/y point.

Constructor detail
PanEvent()constructor
public function PanEvent(type:String, extent:Extent = null, point:Point = null)

Creates a new PanEvent.

Parameters
type:String — The event type; indicates the action that triggered the event.
 
extent:Extent (default = null)
 
point:Point (default = null)
Constant detail
PAN_ENDconstant
public static const PAN_END:String = "panEnd"

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

PAN_STARTconstant 
public static const PAN_START:String = "panStart"

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

PAN_UPDATEconstant 
public static const PAN_UPDATE:String = "panUpdate"

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