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 passing them to the given hasher.
hasher
Hasher
Hasher to use when combining the components of this instance.
public static func fromNavigationState( navigationState: PackedNavigationState, context: Context ) -> TrafficRoute
Creates a route from the deserialized navigation state with adding the contained objects to the road events database (it is necessary to display events on the route on the map when it is impossible to get events online).
navigationState
PackedNavigationState
context
Context
TrafficRoute
var route
Route
Route.
var traffic
Traffic
Traffic data.