RouteAlert
public struct RouteAlert
RouteAlert
encapsulates information about various incoming events. Common attributes like location, distance to the event, length and other is provided for each POI, while specific meta data is supplied via alert
property.
-
Road object which describes upcoming route alert.
Declaration
Swift
public let roadObject: RoadObject
-
Distance from current position to alert, meters.
This value can be negative if it is a spanned alert and we are somewhere in the middle of it.
Declaration
Swift
public let distanceToStart: CLLocationDistance