Question

Is it possible to get alternate routes from point A to point B which goes through C, D and E? If I set waypoints I can't see any alternate routes.

Also how reliable is google directions API? When I don't give waypoints and ask for alternatives, I get routes going on top of lakes and parks.

Any help would be much appreciated. Thanks!

Was it helpful?

Solution

Just to update after playing around with google directions API - the alternate routes are working fine. I missed backspace and that caused the issue when trying to use the encoded overview_polyline points on google map. This actually resulted in polylines going over parks.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top