about GDirection

0 views
Skip to first unread message

hawks_eye

unread,
Nov 9, 2009, 7:56:01 AM11/9/09
to Google AJAX APIs
Hi, I would try to describe my problem corectly. So, I have list of
GDirection and I need to get by some way number of lines in this list.
One example : 1. head east on ... 2. turn right ... 3. Continue
straight onto ... N. Take exit onto ... ...and "N" is what I need to
get. I hope I described it well. Thanks for help.

Jeremy Geerdes

unread,
Nov 9, 2009, 8:14:45 AM11/9/09
to google-ajax...@googlegroups.com
Try the directions object's getNumRoutes() method, documented here:

http://code.google.com/apis/maps/documentation/reference.html#GDirections

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
http://jgeerdes.blogspot.com
http://jgeerdes.wordpress.com
jgee...@mchsi.com

Unless otherwise noted, any price quotes contained within this
communication are given in US dollars.

If you're in the Des Moines, IA, area, check out Debra Heights
Wesleyan Church!

And check out my blog, Adventures in Web Development, at http://jgeerdes.blogspot.com
!
Reply all
Reply to author
Forward
0 new messages