RouteUiPoint

data class RouteUiPoint(val routeSearchPoint: RouteSearchPoint, val label: String? = null)

Represents a route point with an optional custom label for display in the UI.

This wrapper allows users to provide custom titles for route points (start, destination, or intermediate). If no label is provided, the UI will fall back to displaying the coordinates of the routeSearchPoint.

Constructors

Link copied to clipboard
constructor(routeSearchPoint: RouteSearchPoint, label: String? = null)

Properties

Link copied to clipboard
val label: String? = null

Optional custom label to display for this route point. When null, coordinates will be shown.

Link copied to clipboard
val routeSearchPoint: RouteSearchPoint

The actual route search point containing geographic coordinates and optional object/level IDs.