On Jul 22, 8:02 am, Rossko <[email protected]> wrote:
> > The only idea I have is:
> > kraje_n.push(adres, function(){
> >                                                 alert(kraje_n);
> >                                         });
> > but it doesn't work:/

Have you seen this example from the Demo Gallery?

Geocoding Multiple Addresses
This example shows how to geocode an array of addresses in such a way
that avoids going over the max QPS and getting a 620 error.

Classes used: GClientGeocoder

Example by Pamela Fox

http://gmaps-samples.googlecode.com/svn/trunk/geocoder/delayed.html



>
> No it wouldn't, .push() doesn't have a callback function of its own.
>
> Try -
>    ...
>    kraje_n.push(adres);
>    alert(kraje_n);
>    }
>     ...
--~--~---------~--~----~------------~-------~--~----~
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