Package | com.google.maps |
Class | public class MapMoveEvent |
Inheritance | MapMoveEvent ![]() ![]() |
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 | |
latLng : LatLng
[read-only]
LatLng over which the MapMoveEvent occurred.
| MapMoveEvent |
Method | Defined by | ||
---|---|---|---|
MapMoveEvent(type:String, latLng:LatLng, bubbles:Boolean = false, cancellable:Boolean = false)
Creates a MapMoveEvent object to pass as a parameter to event listeners.
| MapMoveEvent |
Constant | Defined by | ||
---|---|---|---|
![]() | 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 | |
MOVE_END : String = "mapevent_moveend" [static]
This event is fired when the change of the map view ends.
| MapMoveEvent | ||
MOVE_START : String = "mapevent_movestart" [static]
This event is fired when the map view starts changing.
| MapMoveEvent | ||
MOVE_STEP : String = "mapevent_movestep" [static]
This event is fired repeatedly while the map view is changing.
| MapMoveEvent | ||
![]() | 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 |
latLng | property |
latLng:LatLng
[read-only]LatLng over which the MapMoveEvent occurred.
Implementation public function get latLng():LatLng
MapMoveEvent | () | constructor |
public function MapMoveEvent(type:String, latLng:LatLng, bubbles:Boolean = false, cancellable:Boolean = false)
Creates a MapMoveEvent object to pass as a parameter to event listeners.
Parameterstype:String — The type of the event, accessible as MapMoveEvent.type.
|
|
latLng:LatLng — Map's latLng.
|
|
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.
|
MOVE_END | constant |
public static const MOVE_END:String = "mapevent_moveend"
This event is fired when the change of the map view ends.
MOVE_START | constant |
public static const MOVE_START:String = "mapevent_movestart"
This event is fired when the map view starts changing. This can be caused by dragging, in which case a MapMouseEvent.DRAG_START event is also fired, or by invocation of a method that changes the map view.
MOVE_STEP | constant |
public static const MOVE_STEP:String = "mapevent_movestep"
This event is fired repeatedly while the map view is changing. If the change is caused as a result of dragging, MapMouseEvent.DRAG_STEP events will also be generated.