Location information using Google api
Google Code Blog – google.loader.ClientLocation tells you the city, country, region, longitude and latitude based on the IP address of the client.
curl -i -s http://www.google.com/jsapi | grep ClientLocation google.loader.ClientLocation = {”latitude”:18.567,”longitude”:73.967,”address”:{”city”:”",”region”:”Maharashtra”,”country”:”India”,”country_code”:”IN”}};Use http://www.google.com/jsapi and you get location information for free.

