Issues

ZF-6110: Use Zend_Service_Yahoo localSearch to use V3.

Description

There is a new version of the local search, V3. Retrieving Longitude and Latitude information will not work otherwise.

Need to update Zend/Service/Yahoo.php at line 210 with below.

$response = $this->_rest->restGet('/LocalSearchService/V3/localSearch', $options);

Also need to add this to the Zend/Service/Yahoo/LocalResult.php file

/**
 * The Longitude coordinates for the result. 
 *
 * @var string
 */
public $Longitude;

/**
 * The Latitude coordinates for the result.
 * 
 * @var string
 */
public $Latitude;

$this->_fields = array('Address','City', 'City', 'State', 'Phone', 'Rating', 'Distance', 'MapUrl', 'BusinessUrl', 'BusinessClickUrl', 'Latitude', 'Longitude');

Comments

Other functions no need to update?

Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".

Feel free to re-open and provide a patch if you want to fix this issue.