akexorcist / GoogleDirectionLibrary

[Android] Library for Google Direction API for Google Maps Android API v2
Apache License 2.0
571 stars 174 forks source link

How to get waypoint_order using this............????? #26

Closed anupkumar1234 closed 6 years ago

anupkumar1234 commented 7 years ago

Thanks Akexorcist..... This is very very useful for me showing waypoints after latest commit.......

And My question is that how to get waypoint_order through this API.......

Thanks in Advance.......

akexorcist commented 6 years ago

Check out v1.1.0! You can get waypoint_order in Route with getWaypointOrderList()

Route route = direction.getRouteList().get(0);
List<Integer> waypointOrderList = route.getWaypointOrderList();