RefreshRouteParameters.withRouteHandleAndSectionPosition constructor
- RouteHandle routeHandle,
- int startingSectionIndex,
- int traveledDistanceOnStartingSectionInMeters
Create a new instance of RefreshRouteParameters with the point on the section of the route as a new starting point.
-
routeHandleThe route handle holding the route to be refreshed. -
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.withRouteHandleAndSectionPosition(RouteHandle routeHandle, int startingSectionIndex, int traveledDistanceOnStartingSectionInMeters) => $prototype.withRouteHandleAndSectionPosition(routeHandle, startingSectionIndex, traveledDistanceOnStartingSectionInMeters);