Closed (fixed)
Project:
Yahoo Geocoding API
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
24 Sep 2010 at 09:54 UTC
Updated:
26 Nov 2010 at 18:02 UTC
keys api 1 is deprecated - http://drupal.org/node/676130
And yahoo geocoding api doesnt activate with keys 2, http://drupal.org/project/keys
Comments
Comment #1
beltofteSorry for the late response. I will look into this ASAP.
Comment #2
beltofteI have made the needed changes and will commit a dev version of that later. It will be a new version of the module (6.x-2.x), so the old version supporting keys_api is still available. The new version will also be changed to use the new Yahoo! PlaceFinder Geocoding API. The API used in version 1 is deprecated, see https://developer.yahoo.com/maps/rest/V1/geocode.html.
Comment #3
beltofteA dev version of the version 6.x-2.x is available. Notice that it uses the new Yahoo! PlaceFinder Geocoding API. The function yahoo_geocoding_api_geocode() now supports more advanced requests to the Geocoding API:
/**
* Finding geo code using Yahoo Geocoding API
*
* @param mixed $address
* - if $address is a string will the request be made using the location
* parameter. See http://goo.gl/mKvnq.
* - if $address is an array will the request be made using the seperate
* location parameters. Notice the keys in the array should match one
* or more of the location parameters available on http://goo.gl/osNtT.
* @param array $control
* An array containing one or more control parameters. The following
* are supported: locale, start, count, offset, flags, gflags.
* See http://goo.gl/BS6Dq.
* @return bool $raw
* Return the formattet result or the raw result from Yahoo.
* If this is TRUE can the result format be controlled in the
* flags parameter.
*
* @return mixed
* If $raw is FALSE will the return value be an array. Else is the
* format controlled by the flags parameter.
*/
Comment #4
beltofteClosing the issue.
Comment #5
BenK commentedKeeping track of this