RoundaboutInstruction

constructor(turnAngle: Angle, exitNumber: Int?, quantizedTurnAngle: QuantizedTurnAngle, routeOffset: Distance, maneuverPoint: GeoPoint, drivingSide: DrivingSide, combineWithNext: Boolean, announcements: List<Announcement> = emptyList(), previousSignificantRoad: Road? = null, nextSignificantRoad: Road? = null, routePath: List<InstructionPoint> = emptyList(), intersectionName: TextWithPhonetics? = null, signpost: Signpost? = null, landmark: Landmark? = null, sideStreetOffset: Distance? = null, trafficLightOffset: Distance? = null, id: UniqueId = UniqueId())

Parameters

turnAngle

Turn angle relative to the driving direction on the entry road to the roundabout, in the range -180...180 degrees.

exitNumber

Exit number where the driver should leave the roundabout, counted from the entry point to the roundabout. If the route starts on the roundabout, counting starts from the departure point.

quantizedTurnAngle

Classification of the turn angle relative to the driving direction on the entry road to the roundabout, if available.

routeOffset

Distance from the start of the route to the instruction point.

maneuverPoint

Location of the maneuver expressed as a GeoPoint.

drivingSide

Indicates left-hand vs. right-hand side driving at the point of the maneuver.

combineWithNext

Indicates if the instruction should be combined with the next one. This can be used to build messages like "Turn left and then turn right".

announcements

Fine-grained Announcements for the Instruction.

previousSignificantRoad

Information about the road the driver will be on immediately before starting the maneuver, if available for this instruction.

nextSignificantRoad

Information about the road the driver will be on immediately after completing the maneuver, if available for this instruction.

routePath

A List of InstructionPoints that represents a route path.

intersectionName

Name of the intersection at the maneuver point, if present for this instruction.

signpost

Signpost information, if present for this instruction.

landmark

Landmark information, if present in this instruction.

sideStreetOffset

Distance to the maneuver point from the intermediate side street, if any.

trafficLightOffset

Distance to the maneuver point from the preceding traffic light, if any.

id

The ID of the instruction.