Packagecom.yahoo.maps.webservices.geocoder
Classpublic final dynamic class GeocoderResultSet

Contains the error, errorMessage, locale, quality and the number of found elements along with all Result elements that matched the location query. More than one result element may be returned if the given address is ambiguous



Public Properties
 PropertyDefined by
  error : int
[read-only] Error code
GeocoderResultSet
  errorMessage : String
[read-only] Error message (locale specific)
GeocoderResultSet
  firstResult : GeocoderResult
[read-only] The first result in the results array (the result with the highest quality of a match)
GeocoderResultSet
  found : int
[read-only] Number of results found by the geocoder.
GeocoderResultSet
  locale : String
[read-only] Locale code
GeocoderResultSet
  quality : int
[read-only] Best possible quality of the input address
GeocoderResultSet
  results : Array
[read-only] An array of GeocoderResult objects.
GeocoderResultSet
Public Methods
 MethodDefined by
  
GeocoderResultSet(results:Array, quality:int, error:int, locale:String = "", errorMessage:String = "")
Creates a new GeocoderResultSet object
GeocoderResultSet
Property detail
errorproperty
error:int  [read-only]

Error code

Implementation
    public function get error():int
errorMessageproperty 
errorMessage:String  [read-only]

Error message (locale specific)

Implementation
    public function get errorMessage():String
firstResultproperty 
firstResult:GeocoderResult  [read-only]

The first result in the results array (the result with the highest quality of a match)

Implementation
    public function get firstResult():GeocoderResult
foundproperty 
found:int  [read-only]

Number of results found by the geocoder.

Implementation
    public function get found():int
localeproperty 
locale:String  [read-only]

Locale code

Implementation
    public function get locale():String
qualityproperty 
quality:int  [read-only]

Best possible quality of the input address

Implementation
    public function get quality():int
resultsproperty 
results:Array  [read-only]

An array of GeocoderResult objects.

Implementation
    public function get results():Array
Constructor detail
GeocoderResultSet()constructor
public function GeocoderResultSet(results:Array, quality:int, error:int, locale:String = "", errorMessage:String = "")

Creates a new GeocoderResultSet object

Parameters
results:Array
 
quality:int
 
error:int
 
locale:String (default = "")
 
errorMessage:String (default = "")