Hi Larry, thanks it's getting more clear but still got some doubts. so when should i retrieve results from that function, when it's ready to return values. is there any sample code i could take a look at?
greetings peter On Jan 31, 7:04 pm, "[email protected]" <[email protected]> wrote: > On Jan 31, 9:38 am, dusker <[email protected]> wrote: > > > yes, thanks a lot i'll take a look at the tutorial provided. > > do you have any idea why the script returns 500 error? > > Because as Mike said: "GDirections is asynchronous." > You can't use anything (or at least expect valid results from > anything) returned by an asynchronous function until it has returned > its results. > (use the returned values inside the callback function). > > -- Larry > > > > > On Jan 31, 5:15 pm, "[email protected]" <[email protected]> > > wrote: > > > > On Jan 31, 7:57 am, dusker <[email protected]> wrote: > > > > > thanks for feedback, i appreciate this. > > > > would you expand your answer for me please? > > > > Did you see his tutorial? > > > >http://econym.org.uk/gmap/async.htm > > > > -- Larry > > > > > maybe you could provide nessesary correction for my code? > > > > > regards > > > > peter > > > > > On Jan 31, 4:50 pm, Mike Williams <[email protected]> wrote: > > > > > > GDirections is asynchronous. > > > > > > --http://econym.org.uk/gmap > > > > > The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
