Thank you for both of your replies. I have been searching for quite
some time after Rossko's suggestion directing me to search the group
for 'multiple routes'. I came to the same conclusion as what you have
stated Stu, however I do not know how to 'wait for a result' before
proceeding. Is there something I am missing? I have looked into the
javascript setTimeout() function but that does not appear to be
helping. Is there something I should be looking to use in order to
ensure the result has been received? I apologise but unfortunately I
do not have a url for the project (it hasn't been published).

Thanks for your help.

Regards,
Daniel

On Oct 19, 10:06 am, stu <[email protected]> wrote:
> Hi
> you are probably going to have to supply a url with a (non)-working
> example if you want too much help, but I'd guess from your description
> that you are not taking account of the fact that route requests are
> asynchronous, so you might be looking for the result *before* the
> result has been returned.
> A quick look at your code seems to confirm that you are not doing a
> 'wait for result' before generating the next request.
> That might be enough to get you on the right track.
> ...stu
>
> On Oct 18, 4:23 pm, Daniel <[email protected]> wrote:
>
>
>
> > Hello there,
>
> > I am currently having a problem when calculating multiple routes. What
> > I am try to do is:- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to