| Package | com.esri.ags.events |
| Class | public class ZoomEvent |
| Inheritance | ZoomEvent flash.events.Event |
See also
| Property | Defined By | ||
|---|---|---|---|
| extent : Extent
The current zoom extent. | ZoomEvent | ||
| level : Number = -1
The level of an ArcGIS Server tiled map service. | ZoomEvent | ||
| zoomFactor : Number
The zoom factor of the current zoom event. | ZoomEvent | ||
| Method | Defined By | ||
|---|---|---|---|
Creates a new ZoomEvent. | ZoomEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| ZOOM_END : String = zoomEnd [static]
Defines the value of the type property of a zoomEnd event object. | ZoomEvent | ||
| ZOOM_START : String = zoomStart [static]
Defines the value of the type property of a zoomStart event object. | ZoomEvent | ||
| ZOOM_UPDATE : String = zoomUpdate [static]
Defines the value of the type property of a zoomUpdate event object. | ZoomEvent | ||
| extent | property |
public var extent:ExtentThe current zoom extent.
| level | property |
public var level:Number = -1The level of an ArcGIS Server tiled map service. This is set on zoomStart and zoomEnd if the base layer is a tile layer.
| zoomFactor | property |
public var zoomFactor:NumberThe zoom factor of the current zoom event.
| ZoomEvent | () | Constructor |
public function ZoomEvent(type:String, extent:Extent = null, zoomFactor:Number = 1, level:Number = -1)Creates a new ZoomEvent.
Parameterstype:String — The event type; indicates the action that triggered the event.
| |
extent:Extent (default = null) | |
zoomFactor:Number (default = 1) | |
level:Number (default = -1) |
| ZOOM_END | Constant |
public static const ZOOM_END:String = zoomEnd
Defines the value of the type property of a zoomEnd event object.
| ZOOM_START | Constant |
public static const ZOOM_START:String = zoomStart
Defines the value of the type property of a zoomStart event object.
| ZOOM_UPDATE | Constant |
public static const ZOOM_UPDATE:String = zoomUpdate
Defines the value of the type property of a zoomUpdate event object.