GeoCoder

4 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: September 3   (RSS)

By pgplast - September 2

I have recently insralled Geocoder on a site to do some testing as we develop. (v.1.09)

I created a Google account with crediot card, created an API key and enabled all the Map related APIs.

(I have restricted to key to the one domain I am setting up.)

I have set the $GLOBALS['GEOCODER_GOOGLE_API_KEY'] = 'My-API-Key' and activated the plugin in CMSB.

When I run the test I get:

Attempting to geocode address '1600 Pennsylvania Ave NW, Washington, DC 20500, USA'...Geocoder errors: STATUS_REQUEST_DENIED

Google, it seems, is denying the request. Am I missing something alse in the setup?

Thanks.

By pgplast - September 3

Dave:

Thanks so  much for that. The response revealed that the restrictions I put on the key were the thing.

I removed them and now it is working. It seems that restricting to one doamin causes a problem. Oh well.

Thanks for your help.

By Dave - September 3

Ok, great.  Glad it's working and thanks for letting us know. 

Dave Edis - Senior Developer
interactivetools.com