thank you Rossko  for your reply

well from what i've read and what you and Andrew told me, i understand
know (i hope) that i need to assign a value to the variables i have
only when the event load() is triggred. if this is the case, then how
to track such an event?, is it like the ones used within HTML tags?

thanks

On 24 Jan, 15:23, Rossko <[email protected]> wrote:
> > well if you mean that i should call Gdirections.load() method every
> > time inside the loop, then this is done by the method setDirections,
>
> You should perhaps see
>    http://econym.org.uk/gmap/async.htm
> To repeat what Andrew said "Your .getDistance() call is processed
> before any of the results are returned "

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