RefreshRouteParameters.withRouteHandleAndWaypointAndSectionPosition constructor
- RouteHandle routeHandle,
- Waypoint startingPoint,
- int startingSectionIndex,
- int traveledDistanceOnStartingSectionInMeters,
Create a new instance of RefreshRouteParameters with the new starting point and the section position on the route.
-
routeHandleThe route handle holding the route to be refreshed. -
startingPointIdentify the new starting point of the route. -
startingSectionIndexIndicates the index of the last traveled route section. -
traveledDistanceOnStartingSectionInMetersProvides an indication on how much of the starting section is already traveled.
Implementation
factory RefreshRouteParameters.withRouteHandleAndWaypointAndSectionPosition(RouteHandle routeHandle, Waypoint startingPoint, int startingSectionIndex, int traveledDistanceOnStartingSectionInMeters) => $prototype.withRouteHandleAndWaypointAndSectionPosition(routeHandle, startingPoint, startingSectionIndex, traveledDistanceOnStartingSectionInMeters);