TurnInstruction
fun TurnInstruction( id: UniqueId = UniqueId(), routeOffset: Distance, travelTime: Duration, maneuverPoint: GeoCoordinate, drivingSide: DrivingSide, isPossibleToCombineWithNext: Boolean, announcements: List<Announcement> = emptyList(), previousSignificantRoad: RoadInformation? = null, nextSignificantRoad: RoadInformation? = null, routePath: List<RouteCoordinate> = emptyList(), intersectionName: TextWithPhonetics? = null, signpost: Signpost? = null, landmark: Landmark? = null, startPointIndex: Int = 0, sideStreetOffset: Distance? = null, trafficLightOffset: Distance? = null, turnAngleInDegrees: Int, turnDirection: TurnDirection)
Content copied to clipboard
Parameters
turnAngleInDegrees
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.