RefreshRouteParameters.withRouteHandleAndSectionPosition constructor

RefreshRouteParameters.withRouteHandleAndSectionPosition(
  1. RouteHandle routeHandle,
  2. int startingSectionIndex,
  3. int traveledDistanceOnStartingSectionInMeters
)

Create a new instance of RefreshRouteParameters with the point on the section of the route as a new starting point.

  • routeHandle The route handle holding the route to be refreshed.

  • startingSectionIndex Indicates the index of the last traveled route section.

  • traveledDistanceOnStartingSectionInMeters Provides 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);