Status
screenshots/videos/online info? /cc
Location
Washington, DC
Subscribe to GeoRSS Subscribe to KML


GoogleMaps geocode lookup

Published in Geolocation, Javascript, Programming, Web  |  1 Comment


GoogleMaps API officially states that they don’t provide a geocoder or route lookup via their API. A geocoder is a service that translates a name into geo coordinates like latitude and longitude.

The most popular and well-known geocoders are geocoder.us and Mikel Maron’s geocoder.

However, you can actually do a geocode query on GoogleMaps:


http://maps.google.com/maps?output=js&q=northville+mi

The result is an HTML page containing javascript with the location (and nearby locations). You can then parse this output to retrieve the latitude & longitude.



          

  
          
Northville, MI 48167

Similar Posts


Responses

  1. Rich Gibson says:

    October 29th, 2005 at 11:06 pm (#)

    It is good to be able to do this…but it is against their TOS. It is also possible to use a similar hack to get lat/long out of mapquest pages. They have hidden it a bit more than Google, but it is the same idea.

    Cheers,
    Rich

Leave a Response