Android Question [SOLVED] waypoint_order change everytime

yfleury

Active Member
Licensed User
Longtime User
Hi All.
I have a to trace the best route between start and end destination with many waypoint.

The polyPoints (points) draw perfectly on google map

I have a xcustomListView to show all address

I want to use waypoint_order to show all address in order for fellowing the way

But each time I request a directions, the waypoint_order change. So I can't use it to order my address list in xcustomlistview.

Why waypoint_order change every time I send a direction request?

My link to api is
https://maps.googleapis.com/maps/ap...s_walking&key=AIzaSyARqIiZ_R_xxxxxxxxxxxxxxxx
 

yfleury

Active Member
Licensed User
Longtime User
Find my programing error. I select (db) all address ordered by destinationID then it change order of lat/lng for api request. Of course, waypoint_order change each time I request direction. I work on that over 11 hours in 2 days.

I am too near of tree to see all the forest.
 
Upvote 0
Top