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
Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2009-04-03T17:38:20.000+0000
Other functions no need to update?
Posted by Rob Allen (rob) on 2012-11-20T20:53:33.000+0000
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.