javascript - Display alternative routes using Google api -


i trying develop application display routes between 2 points on map. refered link - http://www.1stwebdesigner.com/distance-finder-google-maps-api/

but shows 1 route between 2 points. need show more alternative routes between start point , end point shown in link https://www.google.com/maps/dir/

distance , duration should dispalyed on each route shown in above link.

and should able select single route out of these alternative routes

can please me solve problem?

how display alternative route using google map api

see above link , not every time google returns alternate routes. if there 1 existing route returned.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -