Dave thanks - with that and a bit more fiddling I've got it to work. I've left the file at whothru.com/gdirections.html for anyone else interested.
Thanks again! -- Sent from my iPhone. On 21/01/2012, at 4:55 AM, Dave <[email protected]> wrote: > The line that has: > travelMode: google.maps.DirectionsTravelMode[selectedMode] > > Should be changed to: > travelMode: google.maps.DirectionsTravelMode.DRIVING > > And then remove the <select> > > Dave > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-maps-js-api-v3/-/sg7IcoGT8O8J. > 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-js-api-v3?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
