Android Question [SOLVED] waypoint_order change everytime

Discussion in 'Android Questions' started by yfleury, Apr 20, 2019.

Tags:

Similar threads

B4A Tutorial Background location tracking
B4A Code Snippet [B4X] GUID
B4A Library DJI Drones
B4A Example AppCompat with ToolBar - minimal example
B4A Library Printing and Pdf creation
  1. yfleury

    yfleury Active Member Licensed 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
     
  2. yfleury

    yfleury Active Member Licensed 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.
     
    José J. Aguilar likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice