On Thu, Nov 26, 2009 at 10:27 PM, Till <[email protected]> wrote: > Hi all, > this is more of a general question. I am trying to use hotel names to > find the hotel's locations and display them on a map. > Using maps.google.com I can easily search for e.g. "Sheraton > Birmingham Hotel, Birmingham, United States" and Google Maps shows me > the correct location. > However, when I am using the Google Maps API, I am always getting an > error that the address can not be geocoded (HTTP return code 602). > > I am using the GClientGeocoder like this: > geocoder.getLocations(hotelName + ', ' + city + ', ' + country, > addAddressToMap); > > Is what I am trying to do possible at all with the Google Maps API? > > Tutorials and examples always only show geocoding exact addresses but > not geocoding "a search term". > > [...]
OK, it seems like I need to use Google Local Search API for this. Map API seems to be only for handling the UI elements, right? I found an example on which I can build here: http://code.google.com/intl/de/apis/ajaxsearch/documentation/#CustomSearchForm -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
