On May 11, 5:58 am, zhaoyq <[email protected]> wrote:
> Hi, All,
> we can use "gdir.load("from: "+saddr+" to: "+daddr, dirOpts);" to set
> the result into a div.
> Now I want to get the content in the div and don't use the innerHTML
> method. Can someone hlep me? thanks in advance.

Not really enough information there. However, the directions data is
available in Javascript via API objects: see Mike's page at
http://www.econym.org.uk/gmap/steps.htm for an example.

Andrew
--~--~---------~--~----~------------~-------~--~----~
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