none
Adding waypoint in between the two waypoint RRS feed

  • Question

  • I have 2 waypoints and they get shown as A, B respectively in DirectionsPanel. Now I am adding third-waypoint dynamically and want this 3rd waypoint to get added in between A & B, I.e the sequence should be A, C, B. I can achieve this using workaround, like rearranging the available waypoints apart from 1st and last. Want to know is there any property/method available that will help to add waypoint in between the present waypoints at the time of addition of the waypoint using the following line of code.

    directionsManager.addWaypoint(new Microsoft.Maps.Directions.Waypoint({ address: 'Redmond, WA' }));

    Monday, June 4, 2018 9:16 AM

All replies