TravelTimePanel
@IBDesignable
open class TravelTimePanel : UIView
Displays the selected time from TravelTimePicker
and when tapped,
opens a TravelTimePicker
to update the selected time.
Note
Currently, arrival time is not supported by all the HERE Maps SDK routing modes. Please, check the relevant HERE Maps SDK documentation before using the arrival time option for a routing mode.-
The time displayed date on the panel.
Note
It is initialized with the current time.Declaration
Swift
public var time: Date { get set }
-
The icon color.
Declaration
Swift
public var iconColor: UIColor { get set }
-
The time label text color.
Declaration
Swift
public var timeLabelTextColor: UIColor { get set }
-
The object which acts as the delegate of the travel time panel.
Declaration
Swift
public weak var delegate: TravelTimePanelDelegate?
-
Declaration
Swift
public func travelTimePicker(_ picker: TravelTimePicker, didSelect date: Date)