sdk-routing / com.tomtom.online.sdk.routing.route.information / OptimizedWaypoint

OptimizedWaypoint

@Beta(2020, 12) data class OptimizedWaypoint : Serializable

The optimized waypoint. If the route specification contains waypoints and the computeBestOrder parameter, the route plan will include the optimized waypoint indices.

Parameters

providedIndex - The original waypoint index provided in the specification.

optimizedIndex - The optimized waypoint index.

Properties

optimizedIndex

val optimizedIndex: Int

The optimized waypoint index.

providedIndex

val providedIndex: Int

The original waypoint index provided in the specification.