TurnInstruction

fun TurnInstruction(id: UniqueId = UniqueId(), routeOffset: Distance, travelTime: Duration, maneuverPoint: GeoPoint, drivingSide: DrivingSide, combineWithNext: Boolean, announcements: List<Announcement> = emptyList(), previousSignificantRoad: RoadInformation? = null, nextSignificantRoad: RoadInformation? = null, routePath: List<RouteCoordinate> = emptyList(), intersectionName: TextWithPhonetics? = null, signpost: Signpost? = null, landmark: Landmark? = null, sideStreetOffset: Distance? = null, trafficLightOffset: Distance? = null, turnAngle: Angle, turnDirection: TurnDirection)

Parameters

turnAngle

Turn angle relative to the driving direction on the route. Expressed in the range -180...180 degrees.

turnDirection

Classification of the relative angle of the turn.