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".

Hope I've made myself clear what I'm trying to do here. I'm currently
running this on Windows in Firefox but of course this has nothing to
do with the client - I just wanted to mention this for
completeness :-)

Any help is greatly appreciated!

Regards,
Till

--

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.


Reply via email to