MapEvent
public class
loom.modestmaps.events.MapEvent
API overview
Constructor
Attributes
Public attributes
| newCopyright: String | |
| newExtent: MapExtent | |
| newMapProvider: IMapProvider | |
| newSize: Point | |
| oldExtent: MapExtent | |
| panDelta: Point | |
| zoomDelta: Number | |
| zoomLevel: Number |
Constants
Constants
| ALL_TILES_LOADED: String | static |
| BEGIN_EXTENT_CHANGE: String | static |
| BEGIN_TILE_LOADING: String | static |
| CHANGED: String | static |
| COPYRIGHT_CHANGED: String | static |
| EXTENT_CHANGED: String | static |
| INITIALIZED: String | static |
| MAP_PROVIDER_CHANGED: String | static |
| PANNED: String | static |
| RENDERED: String |
static
listen out for this if you want to be sure map is in its final state before reprojecting markers etc |
| RESIZED: String | static |
| START_PANNING: String | static |
| START_ZOOMING: String | static |
| STOP_PANNING: String | static |
| STOP_ZOOMING: String | static |
| ZOOMED_BY: String | static |
Functions
Public functions
| BeginExtentChange ( extent: MapExtent ): MapEvent | static |
| CopyrightChanged ( copyright: String ): MapEvent | static |
| ExtentChanged ( extent: MapExtent ): MapEvent | static |
| MapProviderChanged ( provider: IMapProvider ): MapEvent | static |
| Panned ( px: Number , py: Number ): MapEvent | static |
| Resized ( sx: Number , sy: Number ): MapEvent | static |
| StartZooming ( z: Number ): MapEvent | static |
| StopZooming ( zPrev: Number , zNew: Number ): MapEvent | static |
| ZoomedBy ( zPrev: Number , zNew: Number ): MapEvent | static |
Constructor
MapEvent ( type: String )
Attributes
currentTarget: EventDispatcher
Inherited from Event
read-only
The object the event is currently bubbling at.
newCopyright: String
newExtent: MapExtent
newMapProvider: IMapProvider
newSize: Point
oldExtent: MapExtent
panDelta: Point
zoomDelta: Number
zoomLevel: Number
Constants
ALL_TILES_LOADED: String
static
BEGIN_EXTENT_CHANGE: String
static
BEGIN_TILE_LOADING: String
static
CANCEL: String
static
An event type to be utilized in custom events. Not used by Starling right now.
CHANGE: String
static
An event type to be utilized in custom events. Not used by Starling right now.
CHANGED: String
static
COPYRIGHT_CHANGED: String
static
EXTENT_CHANGED: String
static
INITIALIZED: String
static
MAP_PROVIDER_CHANGED: String
static
PANNED: String
static
REMOVE_FROM_JUGGLER: String
static
Event type for an animated object that requests to be removed from the juggler.
RENDERED: String
static
listen out for this if you want to be sure map is in its final state before reprojecting markers etc.
RESIZED: String
static
SCROLL: String
static
An event type to be utilized in custom events. Not used by Starling right now.
SELECT: String
static
An event type to be utilized in custom events. Not used by Starling right now.
START_PANNING: String
static
START_ZOOMING: String
static
STOP_PANNING: String
static
STOP_ZOOMING: String
static
ZOOMED_BY: String
static
Functions
clone
(): Event
Inherited from Event
Clones the event object with the same arguments and returns the duplicate.
Returns
| Event | The duplicate event object that was cloned. |
getFullTypeName
(): String
Inherited from Object
native
Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.
Returns
| String | fully qualified type name of the Object. |
getType
(): Type
Inherited from Object
native
Gets the Type that describes the Object.
Returns
| Type | The Type that describes the object. |
getTypeName
(): String
Inherited from Object
native
Gets the type name of the Object.
Returns
| String | type name of the Object. |
stopImmediatePropagation
(): Void
Inherited from Event
Prevents any other listeners from receiving the event.