RoutePointsDisplay

abstract fun RoutePointsDisplay(startPointTitle: String, destinationPointTitle: String, colors: RouteEditorComposableColors, textStyles: RouteEditorTextStyles, intermediatePoints: List<UiIntermediateRoutePoint>, onSwapDestinationsClick: () -> Unit, onCloseButtonClick: () -> Unit, onIntermediatePointsChanged: (List<UiIntermediateRoutePoint>) -> Unit)

Renders the route points display showing start, destination, and intermediate points.

Parameters

startPointTitle

Title for the start point.

destinationPointTitle

Title for the destination point.

colors

Color scheme for the route editor components.

textStyles

Text styles for the route editor components.

intermediatePoints

List of intermediate route points.

onSwapDestinationsClick

Callback invoked when swap destinations button is clicked.

onCloseButtonClick

Callback invoked when the close button is clicked.

onIntermediatePointsChanged

Callback invoked when intermediate points are reordered or changed.