On Oct 15, 10:45 am, Solaar <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Cant seem to get the walking and driving estimates seperately from
> GDirections, it gives me one or the other depending on what comes
> first in the code. Ideally I would like to get the values into
> variables. This is what I have which puts the estimate in with the
> directions.
>
> var driving = directions.load("from:" + pstrFrom + ", UK to:" + pstrTo
> + ", UK", {locale:"en_uk", travelMode:G_TRAVEL_MODE_DRIVING});
>
Don't think so. GDirections is asynchronous. Please either review
Mike Williams tutorial and the documentation for details (or even
search the group, this is becoming a FAQ) or provide a link to your
map as requested in the posting guidelines.
-- Larry
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---