문제

With google directions API v3 can you can multiple routes for the same location? if yes can someone please explain how can I do it, or any tutorials please? Right now I have only 1 route.

도움이 되었습니까?

해결책

yes you can get multiple routes to a destination you just need to supply if you want alternatives in your url you send

&alternatives=true

If you are trying to use this with google maps v2 I created a simple library that can do this

https://github.com/tyczj/MapNavigator

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top