Packagecom.yahoo.maps.webservices.local
Classpublic class LocalSearchItem

This class stores the individual local listing data returned by the Yahoo! Local Search API.



Public Properties
 PropertyDefined by
  addr : String
[read-only] A string containing the street address for this result.
LocalSearchItem
  city : String
[read-only] A string containing the city name for this result.
LocalSearchItem
  crossStreet : String
[read-only] A string containing the cross-street name for this result, which may be blank.
LocalSearchItem
  detailURL : String
[read-only] A string containing the URL to the Yahoo! Local listing page for this result.
LocalSearchItem
  dphone : String
[read-only] A string containing the unformatted phone number for this result.
LocalSearchItem
  id : String
[read-only] A string containing the Yahoo! Local item ID.
LocalSearchItem
  lat : Number
[read-only] A Number containing the latitude for this result.
LocalSearchItem
  latlon : LatLon
[read-only] A LatLon object containing the latitude and longitude for this result.
LocalSearchItem
  lon : Number
[read-only] A Number containing the longitude for this result.
LocalSearchItem
  phone : String
[read-only] A string containing the formatted phone number for this result.
LocalSearchItem
  resultURL : String
[read-only] A string containing the URL to the Yahoo! Local search results page.
LocalSearchItem
  reviewURL : String
[read-only] A string containing the URL to the Yahoo! Local reviews section for this result.
LocalSearchItem
  state : String
[read-only] A string containing the state name for this result.
LocalSearchItem
  title : String
[read-only] A string containing the name of this result.
LocalSearchItem
  zip : String
[read-only] A string containing the zip code for this result.
LocalSearchItem
Public Methods
 MethodDefined by
  
LocalSearchItem(xml:XML)
Creates a new LocalSearchItem object
LocalSearchItem
  
websiteURL():String
A string containing the URL to this results website, which may be blank.
LocalSearchItem
Property detail
addrproperty
addr:String  [read-only]

A string containing the street address for this result.

Implementation
    public function get addr():String
cityproperty 
city:String  [read-only]

A string containing the city name for this result.

Implementation
    public function get city():String
crossStreetproperty 
crossStreet:String  [read-only]

A string containing the cross-street name for this result, which may be blank.

Implementation
    public function get crossStreet():String
detailURLproperty 
detailURL:String  [read-only]

A string containing the URL to the Yahoo! Local listing page for this result.

Implementation
    public function get detailURL():String
dphoneproperty 
dphone:String  [read-only]

A string containing the unformatted phone number for this result.

Implementation
    public function get dphone():String
idproperty 
id:String  [read-only]

A string containing the Yahoo! Local item ID.

Implementation
    public function get id():String
latproperty 
lat:Number  [read-only]

A Number containing the latitude for this result.

Implementation
    public function get lat():Number
latlonproperty 
latlon:LatLon  [read-only]

A LatLon object containing the latitude and longitude for this result.

Implementation
    public function get latlon():LatLon
lonproperty 
lon:Number  [read-only]

A Number containing the longitude for this result.

Implementation
    public function get lon():Number
phoneproperty 
phone:String  [read-only]

A string containing the formatted phone number for this result.

Implementation
    public function get phone():String
resultURLproperty 
resultURL:String  [read-only]

A string containing the URL to the Yahoo! Local search results page.

Implementation
    public function get resultURL():String
reviewURLproperty 
reviewURL:String  [read-only]

A string containing the URL to the Yahoo! Local reviews section for this result.

Implementation
    public function get reviewURL():String
stateproperty 
state:String  [read-only]

A string containing the state name for this result.

Implementation
    public function get state():String
titleproperty 
title:String  [read-only]

A string containing the name of this result.

Implementation
    public function get title():String
zipproperty 
zip:String  [read-only]

A string containing the zip code for this result.

Implementation
    public function get zip():String
Constructor detail
LocalSearchItem()constructor
public function LocalSearchItem(xml:XML)

Creates a new LocalSearchItem object

Parameters
xml:XML
Method detail
websiteURL()method
public function websiteURL():String

A string containing the URL to this results website, which may be blank.

Returns
String