Hashable
public static func == (lhs: TrafficRoute, rhs: TrafficRoute) -> Bool
Returns a Boolean value indicating whether two values are equal.
public func hash(into hasher: inout Hasher)
Hashes the essential components of this value by feeding them into the given hasher.
hasher
Hasher
The hasher to use when combining the components of this instance.
public static func fromNavigationState( navigationState: PackedNavigationState, context: Context ) -> TrafficRoute
Creating a route from a deserialized navigation state with adding the objects it contains to the road events database (necessary for displaying route events on the map when you cannot get events online).
navigationState
PackedNavigationState
context
Context
TrafficRoute
var route
Route
Route.
var traffic
Traffic
Traffic data.