currentLegIndex property

int currentLegIndex
read / write

Show the Navigation View and Begins Direction Routing

wayPoints must not be null and have at least 2 items. A collection of WayPoint(longitude, latitude and name). Must be at least 2 or at most 25. Cannot use drivingWithTraffic mode if more than 3-waypoints. options options used to generate the route and used while navigating Begins to generate Route Progress

Implementation

int currentLegIndex = 0;