Mappoint calculate not optimized route

Hello,

is it possible to calculate and display a mappoint route without optimizing it

I use this code, it works buth it re-arranges the waypoints!

appMappoint = CreateObject("Mappoint.Application")

appMappoint.Activate()

appMappoint.Visible = True

appMappoint.UserControl = True

objDS = appMappoint.ActiveMap.DataSets.AddPushpinSet( .... )

results = appMappoint.ActiveMap.FindPlaceResults("Belgium")

If results.Count > 0 Then

results.Item(1).GoTo()

End If

results = appMappoint.ActiveMap.FindPlaceResults("Limburg")

If results.Count > 1 Then

results.Item(2).GoTo()

End If

objMap = appMappoint.ActiveMap

objRoute = objMap.ActiveRoute

objRoute.Waypoints.Add( ... , ... )

objRoute.Calculate()

How can i disable this automatic re-arranging



Answer this question

Mappoint calculate not optimized route