Package | com.google.maps.services |
Class | public final class GeocodingEvent |
Inheritance | GeocodingEvent ![]() ![]() |
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 | |
name : String
Geocoding request text.
| GeocodingEvent | ||
request : String
Request type ("geocode", for geocoding requests).
| GeocodingEvent | ||
response : GeocodingResponse
Object containing the result returned by the geocoder in case the request
completes successfully or null in case of failure.
| GeocodingEvent | ||
status : Number
Geocode status.
| GeocodingEvent |
Method | Defined by | ||
---|---|---|---|
GeocodingEvent(type:String, bubbles:Boolean = false, cancellable:Boolean = false)
Creates a GeocodingEvent object to pass as a parameter to event listeners.
| GeocodingEvent |
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 | |
GEOCODING_FAILURE : String = "geocodingfailure" [static]
Geocoding failure event ("geocodingfailure").
| GeocodingEvent | ||
GEOCODING_SUCCESS : String = "geocodingsuccess" [static]
Geocoding succeeded event ("geocodingsuccess").
| GeocodingEvent | ||
![]() | 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 |
name | property |
public var name:String
Geocoding request text.
request | property |
public var request:String
Request type ("geocode", for geocoding requests).
response | property |
public var response:GeocodingResponse
Object containing the result returned by the geocoder in case the request completes successfully or null in case of failure.
status | property |
public var status:Number
Geocode status.
GeocodingEvent | () | constructor |
public function GeocodingEvent(type:String, bubbles:Boolean = false, cancellable:Boolean = false)
Creates a GeocodingEvent object to pass as a parameter to event listeners.
Parameterstype:String — The type of the event, accessible as MapEvent.type.
|
|
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.
|
GEOCODING_FAILURE | constant |
public static const GEOCODING_FAILURE:String = "geocodingfailure"
Geocoding failure event ("geocodingfailure").
GEOCODING_SUCCESS | constant |
public static const GEOCODING_SUCCESS:String = "geocodingsuccess"
Geocoding succeeded event ("geocodingsuccess").