-1

I am trying to develop an application to display routes between two points on a map. I refered this link - http://www.1stwebdesigner.com/distance-finder-google-maps-api/

But it shows only one route between two points. I need to show more alternative routes between start point and end point as shown in this link https://www.google.com/maps/dir/

Distance and duration should be dispalyed on each route as shown in the above link.

And also I should be able to select a single route out of these alternative routes

Can anyone please help me to solve this problem?

aishy
  • 11
  • 2

1 Answers1

0

How to display alternative route using google map api

see the above link and not every time google returns alternate routes. Sometimes if there is only one existing route then only that will be returned.

Community
  • 1
  • 1
ihimv
  • 1,140
  • 9
  • 23