Google loader API not working

Showing 1-4 of 4 messages
Google loader API not working MKP 6/28/12 7:10 AM
We are using a Google API key to locate the country code from the IP
address of the user who logged in. The following is used to fetch the
value.

google.loader.ClientLocation.address.country_code;

This always returns NULL.

API key:
ABQIAAAAhZqFLlbttqX5KXIkSjAGVBTGRx0s-ExsCUcr2p6tpu-e-uwwnhRvOiGJ-
hTVVDYjPbaR4XcSdQh05w

Can you please help in solving this issue?
Re: Google loader API not working jgeerdes [AJAX APIs "Guru"] 6/28/12 8:18 AM

Due to the inherent problems with geocoding IP addresses, a number of internal developments, and the wide accessibility of the HTML geolocation API, the loader.ClientLocation feature is no longer supported. Use the HTML5 geolocation API or some other IP geolocation service.

--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to
google-ajax-search-api+unsubscribe@googlegroups.com
To view this message on the web, visit
http://groups.google.com/group/google-ajax-search-api?hl=en_US
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
Re: Google loader API not working MKP 6/28/12 11:26 AM
Hi Jeremy,
Can HTML5 geolocation API be used for finding the country code of the user? Can you please provide details?
Re: Google loader API not working jgeerdes [AJAX APIs "Guru"] 6/28/12 11:42 AM
There is no solution for this issue. The google.loader.ClientLocation feature is not actively supported for a variety of reasons. Primary among these are the inherent challenges of reliably geolocating an IP address. The bottom line is that you should find an alternative to google.loader.ClientLocation. You can try the HTML5 geolocation API (search the web for docs) or a number of other IP geolocation services out there.

Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

For more information or a project quote:
jrge...@gmail.com

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!