NetTalk Central

The Rest Of NetTalk => The Rest - Ask For Help => Topic started by: Alberto on September 24, 2020, 09:28:20 AM

Title: NetMaps NetMapsHERE._MakeWaypointsForOptimize Procedure() possible bug
Post by: Alberto on September 24, 2020, 09:28:20 AM
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
Title: Re: NetMaps NetMapsHERE._MakeWaypointsForOptimize Procedure() possible bug
Post by: Bruce on September 29, 2020, 06:49:21 PM
done for 11.46