Hello all:

I have been trying to create a javascript code that uses a XML file
(input) to load multiple pairs of addresses (in Latitude, longitude),
and for each pair, calculate the driving distance and time between the
points using Google Map API Gdirections.getSummaryHtml.  Then it
generates another XML file with the results for each query. (Putting
the string generated from GDirections.getSummaryHtml in every line of
the xml file)

I am using IE 6.0 and when the xml page opens, an "undefined" error
is the output in every line of the xml file, instead of the driving
distance and time (I guess as a result of the call to the
getSummaryHtml). Also, the page reports the following error:

Line: 302 (? - my code does not have these many lines)
Char: 40
Error: 'this.Lh' is null or not an object

I am new in Javascript, and I have no clue of how to solve this.

The code is in the following link:

http://robertofilo.007sites.com/Batch_directions/Batch_directions.html


and the xml which is intended to be used is in :


http://robertofilo.007sites.com/Batch_directions/pair_of_addresses.xml


Thanks in advance for your help.
--~--~---------~--~----~------------~-------~--~----~
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