> I will post the the file itself so you can run and see whats going on.
I doubt anyone will do that, I certainly won't http://groups.google.com/group/Google-Maps-API/web/why-including-a-link-is-critical providing a live example yourself makes it easier for others to help you. The easier it is to help you, the more likely it is that other people will help. I suspect that your code doesn't take into account that directions requests are asynchronous. http://econym.org.uk/gmap/async.htm The results are not immediately available for your print() function. You do already have a function onGDirectionsLoad() that would process results when they are available, but it has no code in it. 'print' is already a javascript keyword http://www.quackit.com/javascript/javascript_reserved_words.cfm you might want to rename your function to avoid suprise clashes. -- 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.
