NetTalk Central

Author Topic: NetMaps NetMapsHERE._MakeWaypointsForOptimize Procedure() possible bug  (Read 1828 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1845
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
In NetMapsHERE._MakeWaypointsForOptimize   Procedure()

In case theres no START point setted.
In the second loop you need to add sp=x, otherwyse the start are duplicated as destination0 and Here does not allow this.

    if sp = x or (sp = 0 and x = 1)
        str.append('&start=' & clip(self.WaypointsQueue.ID) & ';' & clip(left(self.WaypointsQueue.Latitude)) & ',' & clip(left(self.WaypointsQueue.Longitude)))
        sp = x     !<<<<<<<< need this so you can cycle before add a destination point
    end
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11171
    • View Profile
Re: NetMaps NetMapsHERE._MakeWaypointsForOptimize Procedure() possible bug
« Reply #1 on: September 29, 2020, 06:49:21 PM »
done for 11.46