travelEstimates
Trip preview information such as battery, fuel, or toll information to display for this route choice.
Declaration
var travelEstimates: CPTravelEstimates? { get }Discussion
The travel estimates associated with this route choice provide comprehensive information about the route, including traditional metrics (time and distance) and supplementary information (tolls, energy consumption, etc.).
During route selection, the system displays this information to help users make informed decisions. For example, users can compare toll costs between different route options or evaluate whether their vehicle’s battery level will be sufficient for a particular route.