Package | com.google.maps |
Class | public class MapZoomEvent |
Inheritance | MapZoomEvent ![]() ![]() |
Property | Defined by | ||
---|---|---|---|
![]() | feature : Object
The object that the event refers to (such as an instance of
IMapType for MapEvent.MAPTYPE_ADDED event or an instance of
IControl for MapEvent.CONTROL_REMOVED).
| MapEvent | |
zoomLevel : Number [read-only]
Current zoom level for the map.
| MapZoomEvent |
Method | Defined by | ||
---|---|---|---|
MapZoomEvent(type:String, zoomLevel:Number, bubbles:Boolean = false, cancellable:Boolean = false)
Creates a MapZoomEvent object to pass as a parameter to event listeners.
| MapZoomEvent |
Constant | Defined by | ||
---|---|---|---|
CONTINUOUS_ZOOM_END : String = "mapevent_continuouszoomend" [static]
This event is fired when continuous zooming of the map ends.
| MapZoomEvent | ||
CONTINUOUS_ZOOM_START : String = "mapevent_continuouszoomstart" [static]
This event is fired when continuous zooming of the map starts.
| MapZoomEvent | ||
CONTINUOUS_ZOOM_STEP : String = "mapevent_continuouszoomstep" [static]
This event is fired repeatedly while the map is performing continuous zoom.
| MapZoomEvent | ||
![]() | CONTROL_ADDED : String = "mapevent_controladded" [static]
This event is fired on the map when a control is added to the map.
| MapEvent | |
![]() | CONTROL_REMOVED : String = "mapevent_controlremoved" [static]
This event is fired on the map when a control is removed from the map.
| MapEvent | |
![]() | COPYRIGHTS_UPDATED : String = "mapevent_copyrightsupdated" [static]
This event is fired when the copyright that should be displayed on the
map is updated.
| MapEvent | |
![]() | INFOWINDOW_CLOSED : String = "mapevent_infowindowclosed" [static]
This event is fired when the info window closes.
| MapEvent | |
![]() | INFOWINDOW_CLOSING : String = "mapevent_infowindowclosing" [static]
This event is fired before the info window closes.
| MapEvent | |
![]() | INFOWINDOW_OPENED : String = "mapevent_infowindowopened" [static]
This event is fired when the info window opens.
| MapEvent | |
![]() | MAP_PREINITIALIZE : String = "mapevent_mappreinitialize" [static]
This event is fired immediately before the map is initialized.
| MapEvent | |
![]() | MAP_READY : String = "mapevent_mapready" [static]
This event is fired when map initialization is complete and isLoaded()
would return true.
| MapEvent | |
![]() | MAPTYPE_ADDED : String = "mapevent_maptypeadded" [static]
This event is fired when a new MapType has been added to the map.
| MapEvent | |
![]() | MAPTYPE_CHANGED : String = "maptypechanged" [static]
This event is fired when another map type is selected.
| MapEvent | |
![]() | MAPTYPE_REMOVED : String = "mapevent_maptyperemoved" [static]
This event is fired when a MapType has been removed from the map.
| MapEvent | |
![]() | OVERLAY_BEFORE_REMOVED : String = "mapevent_overlaybeforeremoved" [static]
This event is fired when an overlay is about to be removed from the map.
| MapEvent | |
![]() | OVERLAY_MOVED : String = "mapevent_overlaymoved" [static]
This event is fired when an overlay's position is changed.
| MapEvent | |
![]() | OVERLAY_REMOVED : String = "mapevent_overlayremoved" [static]
This event is fired after a single overlay is removed from the map.
| MapEvent | |
![]() | SIZE_CHANGED : String = "mapevent_sizechanged" [static]
This event is fired when the size of the map has changed.
| MapEvent | |
![]() | VISIBILITY_CHANGED : String = "mapevent_visibilitychanged" [static]
This event is fired when an overlay's visibility has changed
(from visible to hidden or vice-versa).
| MapEvent | |
ZOOM_CHANGED : String = "mapevent_zoomchanged" [static]
This event is fired when the map has zoomed.
| MapZoomEvent | ||
ZOOM_RANGE_CHANGED : String = "mapevent_zoomrangechanged" [static]
This event is fired when the available zoom range for the map changes.
| MapZoomEvent |
zoomLevel | property |
zoomLevel:Number
[read-only]Current zoom level for the map.
Implementation public function get zoomLevel():Number
MapZoomEvent | () | constructor |
public function MapZoomEvent(type:String, zoomLevel:Number, bubbles:Boolean = false, cancellable:Boolean = false)
Creates a MapZoomEvent object to pass as a parameter to event listeners.
Parameterstype:String — The type of the event.
|
|
zoomLevel:Number — Map zoom level.
|
|
bubbles:Boolean (default = false ) — Determines whether the Event object participates in
the bubbling stage of the event flow. The default value is false.
|
|
cancellable:Boolean (default = false ) — Determines whether the Event object can be cancelled.
The default values is false.
|
CONTINUOUS_ZOOM_END | constant |
public static const CONTINUOUS_ZOOM_END:String = "mapevent_continuouszoomend"
This event is fired when continuous zooming of the map ends. It is followed by a ZOOM_CHANGED event.
CONTINUOUS_ZOOM_START | constant |
public static const CONTINUOUS_ZOOM_START:String = "mapevent_continuouszoomstart"
This event is fired when continuous zooming of the map starts.
CONTINUOUS_ZOOM_STEP | constant |
public static const CONTINUOUS_ZOOM_STEP:String = "mapevent_continuouszoomstep"
This event is fired repeatedly while the map is performing continuous zoom.
ZOOM_CHANGED | constant |
public static const ZOOM_CHANGED:String = "mapevent_zoomchanged"
This event is fired when the map has zoomed.
ZOOM_RANGE_CHANGED | constant |
public static const ZOOM_RANGE_CHANGED:String = "mapevent_zoomrangechanged"
This event is fired when the available zoom range for the map changes. This occurs as a result of panning the map to a region where the available zoom levels has changed in comparison to what it previously was or when a change to the zoom range happens programmatically. The zoomLevel property of the respective MapZoomEvent will indicate the current zoom level of the map (which may or may not have changed). To obtain the new minimum and maximum zoom levels for the map, call Map.getMinZoomLevel() and Map.getMaxZoomLevel() methods.