Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Zend_Service_Yahoo
-
Labels:None
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');
Other functions no need to update?