JCP Chandran
JCP Chandran

Reputation: 9

How to get all possible routes using Google API...?

I am using following URL in for getting routes

http://maps.google.com/maps?output=dragdir&saddr=AddrOflocationA&daddr= AddrOfLocationB

I need to show several paths between two destinations as we see on Google <aps.

Upvotes: 0

Views: 1940

Answers (1)

ChrisSwires
ChrisSwires

Reputation: 2723

See previous answer here: Using Google Maps 3 API to get multiple routes on a Map

Effectively you'll need to store the results of the routes queries in an array and then render them to the map.

Upvotes: 0

Related Questions