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

Contains the returned geo-location data for an address through the Geocoder.



Public Properties
 PropertyDefined by
  areacode : String
Telephone area code Returned if C flag is not set and R flag is set
GeocoderResult
  canonicalizedQuery : String
The canonicalized query.
GeocoderResult
  city : String
City name Returned if C flag is not set and G flag is not set
GeocoderResult
  country : String
Country name Returned if C flag is not set and G flag is not set
GeocoderResult
  countrycode : String
Country ISO 3166-1 code Returned if C flag is not set
GeocoderResult
  county : String
County name (US/Canada only) Returned if C flag is not set and G flag is not set
GeocoderResult
  countycode : String
County ISO 3166-2 code Returned if C flag is not set
GeocoderResult
  cross : String
Cross Street name Ignored if location, name, or line1 parameter is provided
GeocoderResult
  hash : String
Hash for address
GeocoderResult
  house : String
House number Returned if C flag is not set
GeocoderResult
  latitude : String
Latitude of matched point in degrees Returned if P flag is not set
GeocoderResult
  latlon : LatLon
A LatLon object representing the latitude and longitude.
GeocoderResult
  line1 : String
First line of address (House Street UnitType Unit) Returned if C flag is not set
GeocoderResult
  line2 : String
Second line of address (City State Zip in the US) Returned if C flag is not set
GeocoderResult
  line3 : String
Third line of address Returned if C flag is not set
GeocoderResult
  line4 : String
Fourth line of address Returned if C flag is not set
GeocoderResult
  longitude : String
Longitude of matched point in degrees Returned if P flag is not set
GeocoderResult
  Maplink : String
URL of map image Returned if M flag is set
GeocoderResult
  name : String
POI Name or Airport code Returned if C flag is not set
GeocoderResult
  neighborhood : String
Neighborhood name Returned if C flag is not set and G flag is not set
GeocoderResult
  offsetlat : String
Latitude of offset point in degrees Returned if P flag is not set and if Offset is greater than 0
GeocoderResult
  offsetlatlon : LatLon
A LatLon object representing the offset latitude and longitude.
GeocoderResult
  offsetlon : String
Longitude of offset point in degrees Returned if P flag is not set and if Offset is greater than 0
GeocoderResult
  postal : String
Postal code Returned if C flag is not set
GeocoderResult
  query : String
The query sent to the geocoder
GeocoderResult
  radius : Number
Radius of matched area in meters Returned if P flag is not set
GeocoderResult
  state : String
State/Province name Returned if C flag is not set and G flag is not set
GeocoderResult
  statecode : String
State ISO 3166-2 code Returned if C flag is not set
GeocoderResult
  street : String
Street name Returned if C flag is not set
GeocoderResult
  timezone : String
Timezone tz name Returned if C flag is not set and T flag is set
GeocoderResult
  unit : String
Unit/Suite/Apartment/Box Returned if C flag is not set
GeocoderResult
  unittype : String
Unit type Returned if C flag is not set
GeocoderResult
  uzip : String
Unique zip code
GeocoderResult
  woeid : uint
A Where On Earth ID is a 32-bit identifier that uniquely represents spatial entities.
GeocoderResult
  woetype : String
The type of the Where On Earth ID.
GeocoderResult
  xstreet : String
Cross street name Returned if C flag is not set
GeocoderResult
  zoomLevel : Number
Zoom level of matched area.
GeocoderResult
Public Methods
 MethodDefined by
  
Creates a new GeocoderResult object
GeocoderResult
  
getLineAddress():String
Returns a single string containing each address line item, separated by commas.
GeocoderResult
Property detail
areacodeproperty
public var areacode:String

Telephone area code Returned if C flag is not set and R flag is set

canonicalizedQueryproperty 
public var canonicalizedQuery:String

The canonicalized query.

cityproperty 
public var city:String

City name Returned if C flag is not set and G flag is not set

countryproperty 
public var country:String

Country name Returned if C flag is not set and G flag is not set

countrycodeproperty 
public var countrycode:String

Country ISO 3166-1 code Returned if C flag is not set

countyproperty 
public var county:String

County name (US/Canada only) Returned if C flag is not set and G flag is not set

countycodeproperty 
public var countycode:String

County ISO 3166-2 code Returned if C flag is not set

crossproperty 
public var cross:String

Cross Street name Ignored if location, name, or line1 parameter is provided

hashproperty 
public var hash:String

Hash for address

houseproperty 
public var house:String

House number Returned if C flag is not set

latitudeproperty 
public var latitude:String

Latitude of matched point in degrees Returned if P flag is not set

latlonproperty 
public var latlon:LatLon

A LatLon object representing the latitude and longitude. Returned if P flag is not set

line1property 
public var line1:String

First line of address (House Street UnitType Unit) Returned if C flag is not set

line2property 
public var line2:String

Second line of address (City State Zip in the US) Returned if C flag is not set

line3property 
public var line3:String

Third line of address Returned if C flag is not set

line4property 
public var line4:String

Fourth line of address Returned if C flag is not set

longitudeproperty 
public var longitude:String

Longitude of matched point in degrees Returned if P flag is not set

Maplinkproperty 
public var Maplink:String

URL of map image Returned if M flag is set

nameproperty 
public var name:String

POI Name or Airport code Returned if C flag is not set

neighborhoodproperty 
public var neighborhood:String

Neighborhood name Returned if C flag is not set and G flag is not set

offsetlatproperty 
public var offsetlat:String

Latitude of offset point in degrees Returned if P flag is not set and if Offset is greater than 0

offsetlatlonproperty 
public var offsetlatlon:LatLon

A LatLon object representing the offset latitude and longitude.

offsetlonproperty 
public var offsetlon:String

Longitude of offset point in degrees Returned if P flag is not set and if Offset is greater than 0

postalproperty 
public var postal:String

Postal code Returned if C flag is not set

queryproperty 
public var query:String

The query sent to the geocoder

radiusproperty 
public var radius:Number

Radius of matched area in meters Returned if P flag is not set

stateproperty 
public var state:String

State/Province name Returned if C flag is not set and G flag is not set

statecodeproperty 
public var statecode:String

State ISO 3166-2 code Returned if C flag is not set

streetproperty 
public var street:String

Street name Returned if C flag is not set

timezoneproperty 
public var timezone:String

Timezone tz name Returned if C flag is not set and T flag is set

unitproperty 
public var unit:String

Unit/Suite/Apartment/Box Returned if C flag is not set

unittypeproperty 
public var unittype:String

Unit type Returned if C flag is not set

uzipproperty 
public var uzip:String

Unique zip code

woeidproperty 
public var woeid:uint

A Where On Earth ID is a 32-bit identifier that uniquely represents spatial entities.

See also

woetypeproperty 
public var woetype:String

The type of the Where On Earth ID.

See also

xstreetproperty 
public var xstreet:String

Cross street name Returned if C flag is not set

zoomLevelproperty 
public var zoomLevel:Number

Zoom level of matched area. Returned if P flag is not set

Constructor detail
GeocoderResult()constructor
public function GeocoderResult()

Creates a new GeocoderResult object

Method detail
getLineAddress()method
public function getLineAddress():String

Returns a single string containing each address line item, separated by commas.

Returns
String