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

OptimizedWaypoint

@PublicPreview("2021.06") 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.