MandatoryTurnInstruction
fun MandatoryTurnInstruction( id: UniqueId = UniqueId(), routeOffset: Distance, travelTime: Duration, maneuverPoint: GeoCoordinate, junctionType: JunctionType? = null, drivingSide: DrivingSide, isPossibleToCombineWithNext: Boolean, announcements: List<Announcement> = emptyList(), maneuverType: Maneuver? = null, previousSignificantRoad: RoadInformation? = null, nextSignificantRoad: RoadInformation? = null, routePath: List<RouteCoordinate> = emptyList(), intersectionName: String = "", signpost: Signpost? = null, startPointIndex: Int = 0, turnAngleInDegrees: Int, turnDirection: TurnDirection)
Content copied to clipboard
Parameters
turnAngleInDegrees
turnAngleInDegrees turn angle relative to the driving direction on the route, in the range -180...180 degrees.
turnDirection
classification of the relative angle of the turn.