| Package | com.esri.ags.events |
| Class | public class PanEvent |
| Inheritance | PanEvent flash.events.Event |
See also
| Property | Defined By | ||
|---|---|---|---|
| extent : Extent
The map extent. | PanEvent | ||
| point : Point
Coordinates in pixel values. | PanEvent | ||
| Method | Defined By | ||
|---|---|---|---|
Creates a new PanEvent. | PanEvent | ||
| Constant | Defined 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 | ||
| extent | property |
public var extent:ExtentThe map extent.
| point | property |
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.
| PanEvent | () | Constructor |
public function PanEvent(type:String, extent:Extent = null, point:Point = null)Creates a new PanEvent.
Parameterstype:String — The event type; indicates the action that triggered the event.
| |
extent:Extent (default = null) | |
point:Point (default = null) |
| PAN_END | Constant |
public static const PAN_END:String = panEnd
Defines the value of the type property of a panEnd event object.
| PAN_START | Constant |
public static const PAN_START:String = panStart
Defines the value of the type property of a panStart event object.
| PAN_UPDATE | Constant |
public static const PAN_UPDATE:String = panUpdate
Defines the value of the type property of a panUpdate event object.