Hi,Larry

thanks for your help...

I'll read the guide!!

> You can.  But it probably won't work. GDirections is asynchronous:
> Javascript Concepts
> Part 2 Asynchronous I/Ohttp://econym.org.uk/gmap/async.htm
>
> You need to wait for the results to come back from the previous
> request before sending the next.
>

ok..I'll think another way...




>
>
> > to get two addresses's distance?
>
> > And
>
> > "GEvent. (gdir, "load", onGDirectionsLoad);"
>
> > if I could use onGDirectionsLoad to load two addresses and then get
> > the distance by getDistance().meters?
>
> I don't see onGDirectionsLoad in the documentation.
>

Sorry, onGDirectionsLoad is my function's name
I just want to know if I could use the same function to load(A,B) and
getDistance()?





>
>
>
>
>
> > I need your help...thanks- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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