This sample demonstrates how to generate the optimal sequence of visiting locations, between two fixed ends. The iterations value is a number that you can set to improve the accuracy of the RoutingResult. The larger the iterations value the more accurate and time consuming the result.

StartPoint:
EndPoint:  
Iterations:
Visit Locations List

Total Distance:
      Time Used: