Hi I got it working now on http://www.solucioneslogisticasintegrales.com/logistica/test
It works ok now, but as geocodezip said, there are no driving directions in nicaragua, so there is no use of it for me now. I think I will try straight line distance. Thanks a lot to everyone. On Sep 26, 8:03 am, Esa <[EMAIL PROTECTED]> wrote: > On 26 syys, 16:02, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > at a minimum: > > GEvent.addListener(gdir,"load", set_distance()); > > should be: > > GEvent.addListener(gdir,"load", set_distance); > > (as just about everyone has been telling you) > > And at minimum the document must have at least a <body> to make dom > operations work. Browsers may render the <div> elements but I am sure > that document.getElementById() doesn't return anything useful now. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
