Package | com.google.maps.interfaces |
Interface | public interface IClientGeocoder extends IWrappableEventDispatcher, flash.events.IEventDispatcher, IWrappable |
Implementors | ClientGeocoder |
Method | Defined by | ||
---|---|---|---|
geocode(address:String):void
Initiates a geocoding request.
| IClientGeocoder | ||
![]() |
getBaseEventDispatcher():Object
Retrieves the base event dispatcher object that allows access to event
dispatching capability for cross-domain objects.
| IWrappableEventDispatcher | |
Retrieves the geocoder object's options.
| IClientGeocoder | ||
resetCache():void
Resets the geocoding cache, clearing all results retrieved by this
and other ClientGeocoder objects.
| IClientGeocoder | ||
reverseGeocode(latLng:LatLng):void
Initiates a reverse geocoding request.
| IClientGeocoder | ||
setOptions(options:ClientGeocoderOptions):void
Updates the geocoder options.
| IClientGeocoder |
geocode | () | method |
public function geocode(address:String):void
Initiates a geocoding request. Dispatches GeocodingEvent.GEOCODING_SUCCESS or GeocodingEvent.GEOCODING_FAILURE on completion.
Parametersaddress:String — Address to geocode.
|
— A null or empty address will cause an ArgumentError
to be thrown.
|
getOptions | () | method |
public function getOptions():ClientGeocoderOptions
Retrieves the geocoder object's options. Use the setOptions() method to modify geocoder options.
ReturnsClientGeocoderOptions —
Full set of options for the geocoder object.
|
resetCache | () | method |
public function resetCache():void
Resets the geocoding cache, clearing all results retrieved by this and other ClientGeocoder objects.
reverseGeocode | () | method |
public function reverseGeocode(latLng:LatLng):void
Initiates a reverse geocoding request. Dispatches GeocodingEvent.GEOCODING_SUCCESS or GeocodingEvent.GEOCODING_FAILURE on completion.
ParameterslatLng:LatLng — LatLng to reverse geocode.
|
— A null LatLng will cause an ArgumentError
to be thrown.
|
setOptions | () | method |
public function setOptions(options:ClientGeocoderOptions):void
Updates the geocoder options. The options parameter may specify a complete or partial set of geocoder options.
Parametersoptions:ClientGeocoderOptions — New full or partial set of geocoder options.
|