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?