Thanks for the help, [EMAIL PROTECTED] I corrected the syntax error in the GDownloadUrl command. However, I am now getting an error message in the routine that is intended to call the gdir.getSummaryHtml() to display the result from the driving directions request from Google. (It displays an undefined message in the XML file that is being generated).
http://robertofilo.007sites.com/Batch_directions/Batch_directions.html Any idea? Regards On Dec 2, 3:48 pm, robertofilo <[EMAIL PROTECTED]> wrote: > Oops. (I am a newbie) > > Regards. > > On Dec 2, 3:30 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > > > On Dec 2, 6:25 am, robertofilo <[EMAIL PROTECTED]> wrote: > > > > 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 of them calculate the driving distance using Google Map > > > API Gdirections. Then the idea is to either display the results in a > > > single page using alerts (html) or generating another XML file. (For > > > this example I am trying to use the first method, for simplicity) > > > > I do not know yet if the code will work entirely, but I came up with a > > > problem that do not help me continue working with it. > > > > I am using IE 6.0 and when the page opens an "Object expected" error > > > is reported in line 33 (when calling GDownloadUrl), and the rest of > > > the code is not executed. I already cleaned the temporary internet > > > files folder following the recommendation on (http://http:// > > > groups.google.com/group/Google-Maps-API/msg/b9ad15238b2c4b27) but the > > > error persists. > > > > 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 > > > Javascript is case sensitive. GDownloadURL should be > > GDownloadUrl:http://code.google.com/apis/maps/documentation/reference.html#GDownlo... > > > -- Larry- Hide quoted text - > > > - Show quoted text -- 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 -~----------~----~----~----~------~----~------~--~---
