Demo for Displaying Multiple Google Directions (Google Maps API v3)

joshdcomp picture joshdcomp · Mar 27, 2011 · Viewed 11.9k times · Source

Hey all, is there a functioning demo out there for displaying multiple directions routes on a single Google map? The other question on stack links to a set of snippets…I feel like I'd be able to work better I just saw a functional script in action.

Thanks much!

Answer

joshdcomp picture joshdcomp · Mar 31, 2011

Using the snippets from the other post, I got what I wanted. Not only did I achieve multiple directions displays on the same map, but there are also unique waypoints to each directions object.

Link to the demo