Contents

CPRouteDetail

Declaration

@MainActor class CPRouteDetail

Overview

Alongside standard routing details. This includes environmental data, vehicle consumption metrics, costs, and custom information specific to your app’s routing capabilities.

Route information appears in the route selection interface and during active navigation, helping users make informed decisions about their journey. The system automatically formats and displays this information using appropriate styling and placement.

Use route information to differentiate between routing options and provide transparency about journey characteristics. For example, display toll costs to help users choose between paid expressways and free alternatives, or show battery consumption for electric vehicles to ensure destination reachability.

Topics

Initializers

Instance Properties