Hi

http://www.cs.nott.ac.uk/~gxk/download/mapOne.html

shows some code that takes in two fixed points and displays the
Straight Line Distance (SLD) between two points and also displays the
driving distance and driving time. The SLD is calculated easily
enough, but we have to wait for the driving distance/time by adding a
listerner to the load operation for GDirections. But it all seems to
work okay.

In

http://www.cs.nott.ac.uk/~gxk/download/mapTwo.html

I have tried to extend this idea by reading in an XML file that
contains various information; including Long/Lat for the points of
interest. I then want to display the driving distance/time between
each of these points (just checking that they are not the same). The
important thing is, it is no longer just calculating two hard coded
points (as the first map did)

I can display the SLD's, but the javascript no longer seems to invoke
the listener for the load operation.

Any ideas/help as to what I am doing wrong?

Thx

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