Google IP Geolocation

Published Aug 26, 2008 Updated Sep 04, 2008

Google just published new AJAX API function ClientLocation for IP Geolocation.

This way you receive an JavaScript object with latitude and longitude and with address (city, region, country and country code) of your visitor.

It is cool and practical for use even without displaying Google Maps, as you can change behavior of your website according location of the visitor.

I wrote a typical example application Google IP Geolocation Map and Address which you can just copy and paste.

What IP database is Google practically using? Anybody knows? Is it their private or they are licensing one from another company?

Is the quality of IP geolocation better then free GeoLite City from MaxMind?ite City from MaxMind?/a>?

Petr Pridal

Founder & CEO
Published on Aug 26, 2008

© 2020 MapTiler. All rights reserved. Privacy & Terms.
Follow us on