> > In My I have markers like 1, 2, 3, ...... I want to get the drive path like
> > 1 ----> 2 ------>3--> and so on but it is showing me drive path like
> > 1---->2---->5------>6

GDirections does what you tell it to.  From 1 to 2 to 5.  Or from 1 to
2 to 3.  Your last code dump doesn't show any of that, so no-one can
help you further, and more code dumps probably will not be welcomed.

*If* you mean, you have a number of places to visit in one trip but
don't know the best order to visit them in, GDirections will not solve
that for you.  The maps API has no features to do that.

> > Pls let me know the solution.

It would be a well-known problem for you to solve, often called the
"Travelling Salesman Problem".

--

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