You haven't taken into account that geocoding is Asynchronous.  Your code 
fires off a batch of requests for gecoding.  It does not wait for the 
response from Google betwen each one.  It does not wait for any responses 
before continuing.  So when you look for results, they aren't there yet.   
As you noticed, the results come back later.
 
This should be a useful read
http://econym.org.uk/gmap/async.htm
http://econym.org.uk/gmap/geo.htm
http://econym.org.uk/gmap/geomulti.htm
 
You may also have to take into account that the rate at which you can fire 
requests at Google is limited.  And the number of requests you can fire at 
Google in a period is limited.
 
You might also review if writing your new webpage in V2 is a good idea at 
all, as it at the end of its life.

>     
>   
>
>  
>

-- 


Reply via email to