Larry

Many thanks for that.  It pointed in exactly in the right direction.

It turns out that apart from that which you have explained, the real
error behind it was bad formatting of the query string.

Changing

_GMAP.directions.load("From: " + dirFrom + " To: " + dirTo,
{travelMode:G_TRAVEL_MODE_DRIVING});

to

_GMAP.directions.load("from: " + dirFrom + " to: " + dirTo,
{travelMode:G_TRAVEL_MODE_DRIVING});

solved the problem.  I hope that helps someone too.

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