Packagecom.esri.aws.awx.events
Classpublic class PanEvent
InheritancePanEvent Inheritance flash.events.Event

The zoom event is used to let groupLayers/layers and widgets know when the map is panning.

See also

com.esri.aws.awx.map.handlers.SimpleSmoothPanMouseHandler
com.esri.aws.awx.map.handlers.PanZoomKeyboardHandler


Public Methods
 MethodDefined by
  
PanEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new PanEvent.
PanEvent
Public Constants
 ConstantDefined by
  PAN_START : String = "panStart"
[static] The map is starting to pan.
PanEvent
  PAN_STOP : String = "panStop"
[static] The map is finished panning.
PanEvent
Constructor detail
PanEvent()constructor
public function PanEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a new PanEvent.

Parameters
type:String — The event type; indicates the action that caused the event.
 
bubbles:Boolean (default = false) — Specifies whether the event can bubble up the display list hierarchy.
 
cancelable:Boolean (default = false) — Specifies whether the behavior associated with the event can be prevented.
Constant detail
PAN_STARTconstant
public static const PAN_START:String = "panStart"

The map is starting to pan.

PAN_STOPconstant 
public static const PAN_STOP:String = "panStop"

The map is finished panning.