Friday, June 23rd, 2006>p> Developer.com has a new article/tutorial today about a feature that Google (apparently) quietly slipped into their Maps API a little while back – a geocoding service.
Yet one of the glaring omissions from the API has been the ability to map locations without the use of third-party solutions for converting mailing addresses to their corresponding coordinates.
This longstanding feature request was satisfied on June 11 when Google quietly added geocoding capabilities to the API. What’s more, this feature isn’t limited to the U.S.; street-level geocoding is also offered for Canada, France, Germany, Italy, Japan, and Spain! While limited to 50,000 daily requests, it’s fair to say such constraints won’t affect most users, particularly if caching is implemented. This tutorial shows you how to use this new feature, further streamlining your use of this wonderful API.
They give an example response from the getLocations() call and include a sample script to illustrate how it can be used to translate a street address all the way to a point on a Google map. They also include an example of using a Placemark object to grab the data and pass it into an openInfoWindowHTML() method to make the formatting of the detail information a bit easier on the eyes.
Posted by Chris Cornutt at 7:54 am