remainingTravelTimeDistanceToNextWaypoint property

TimeDistance get remainingTravelTimeDistanceToNextWaypoint

Remaining travel time and distance to the next waypoint.

Returns estimated remaining travel time (seconds) and distance (meters) to the next intermediate waypoint on the route, accounting for current traffic conditions and route geometry.

Returns

  • (TimeDistance) Remaining time (seconds) and distance (meters) to next waypoint.

See also:

Implementation

TimeDistance get remainingTravelTimeDistanceToNextWaypoint {
  final OperationResult resultString = objectMethod(
    pointerId,
    'NavigationInstruction',
    'getRemainingTravelTimeDistanceToNextWaypoint',
  );

  return TimeDistance.fromJson(resultString['result']);
}