Geocoding is asynchronous!
That means that you cannot send a new request while the
GClientGeocoder object is still busy with the previous one, but that's
what you're doing.

You need to either create a new GClientGeocoder object for each
request, or make each new request from within the callback function,
after the previous call has completed.

In any case, the geocoder at maps.google.com and the one in the API
use different databases, so results may not be exactly the same.

--
Marcelo - http://maps.forum.nu
--



On Jan 10, 3:22 am, Arun <[email protected]> wrote:
> Trying to create a mashup that grabs all our product success stories
> and shows the installation locations. The website is at:
>
> http://blogs.sun.com/stories/resource/maps.jsp
>
> But GClientGeocoder is not able to geocode most of the locations even
> though they are valid locations per Google Maps. Moreover it's
> geocoding random number of sites (7, 8 or 9) each time.
>
> On the website, "How many plotted" shows the number of locations
> plotted. If you click on "Plot One" then it tries to plot "Bnei-Brak,
> Israel". This is a valid location as per Google Maps but
> GClientGeocoder seems to return "null".
>
> Any clues ?
>
> -Arun
--~--~---------~--~----~------------~-------~--~----~
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