This class provides access to the Yahoo! Geocoder service, allowing you to find the specific latitude and longitude for an address string.
You can also reverse geocode a latitude and longitude to return an address.
locale:String [read-write]Implementation
public function get locale():String
public function set locale(value:String):void
public function Geocoder()
Creates a new Geocoder object
public function geocode(address:Address, args:Object = null):void
Sends a request to the geocoding service.
Parameters
| address:Address — An Address object.
|
| |
| args:Object (default = null) — An object containing key/value pairs to pass as arguments to the geocoder.
|
See also
public function geocodeWOEId(woeid:uint, args:Object = null):voidParameters
| woeid:uint |
| |
| args:Object (default = null) |
public function reverseGeocode(latlon:LatLon, args:Object = null):void
Sends a reverse request to the geocoding service.
Parameters
| latlon:LatLon — A LatLon object.
|
| |
| args:Object (default = null) — An object containing key/value pairs to pass as arguments to the geocoder.
|
See also
Event object type: GeocoderEvent
Dispatched only if the request failed, the XML did not parse or there were no results.
Event object type: GeocoderEvent
Dispatched when the request was successful and there was at least one result.