On Mar 3, 12:28 pm, malus <[email protected]> wrote: > I can load the directions and map using the folloing code. > > var dirTravelMode = G_TRAVEL_MODE_WALKING; > var directionsPanel = document.getElementById('dir'); > var directions = new GDirections(map, directionsPanel); > directions.load(directionAddress, {travelMode: dirTravelMode}); > > Later I need to get the textual directions for implementing another > functionality. > > How do I get the textual directions from the div tag? > I tried to use document.getElementById('dir').value after the load > method is invoked. But I could not get the value. >
See this page from Mike Williams' tutorial: Part 29 Custom direction details http://econym.org.uk/gmap/steps.htm -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
