|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
This always returns NULL.
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.
|Re: Google loader API not working||MKP||6/28/12 11:26 AM|
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:
If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!