Making Routes For Multiple Destinations With All Have The Same Origin

81 views
Skip to first unread message

R.R.

unread,
Aug 16, 2011, 9:41:34 AM8/16/11
to google-map...@googlegroups.com
Hi,

Is it possible to make routes for multiple destinations and each of the destination is coming from the same origin?  For example,

"A" is the Origin, and "B", "C", "D" are the Destinations

A ------> B
A ------> C
A ------> D

My app needs to get the Time Duration, the Distance between Points, and the Routes on the map.  I'm using the DistanceMatrixService to get the Distance and Duration but the problem is, it doesn't do routes on the map.

Please help.

Thanks!

Rossko

unread,
Aug 16, 2011, 9:57:29 AM8/16/11
to Google Maps JavaScript API v3
> Is it possible to make routes for multiple destinations and each of the
> destination is coming from the same origin?  For example,

Sure, but there are limits ; search this group for "multiple
directions"

> A ------> B
> A ------> C
> A ------> D

Consider reducing traffic by requesting A-B-A-C-A-D and then selecting
the parts of the results you want

R.R.

unread,
Aug 16, 2011, 10:15:00 AM8/16/11
to google-map...@googlegroups.com
Hello Rossko,

Yeah, guess I'll just have to do it with waypoints.

Thanks for the reply! I really appreciate it. :)
Reply all
Reply to author
Forward
0 new messages