The style that the map template uses when displaying trip estimates during active nagivation.
SDK
- iOS 12.0+
Framework
- Car
Play
Declaration
var tripEstimateStyle: CPTrip Estimate Style { get set }
Discussion
The default value is CPTrip
.
The style that the map template uses when displaying trip estimates during active nagivation.
SDK
Framework
var tripEstimateStyle: CPTrip Estimate Style { get set }
The default value is CPTrip
.
func update Estimates(CPTravel Estimates, for: CPTrip)
Updates travel estimates, such as arrival time and remaining time and distance for a trip.
func update(CPTravel Estimates, for: CPTrip, with: CPTime Remaining Color)
Updates travel estimates, such as arrival time and remaining time and distance for a trip, with the specified time-remaining color.
enum CPTime Remaining Color
The color the system uses when displaying the time remaining for a trip.
enum CPTrip Estimate Style
The set of display styles for trip estimates.