RoundaboutGuidanceInstruction
data class RoundaboutGuidanceInstruction(val id: UniqueId, val routeOffset: Distance, val travelTime: Duration, val maneuverPoint: GeoPoint, val drivingSide: DrivingSide, val combineWithNext: Boolean, val previousSignificantRoad: RoadInformation? = null, val nextSignificantRoad: RoadInformation? = null, val routePath: List<RouteCoordinate> = emptyList(), val intersectionName: String = "", val signpost: Signpost? = null, val turnAngle: Angle, val exitNumber: Int? = null, val roundaboutDirection: RoundaboutDirection, val quantizedTurnAngle: QuantizedTurnAngle? = null) : GuidanceInstruction
Guidance Instruction indicating an upcoming roundabout.
Important: This is a Public Preview API. It may be changed or removed at any time.
See also
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.
roundaboutDirection
Classification of the main direction to take at the roundabout.
quantizedTurnAngle
Classification of the turn angle relative to the driving direction on the entry road to the roundabout, if available.
Constructors
Link copied to clipboard
fun RoundaboutGuidanceInstruction(id: UniqueId, routeOffset: Distance, travelTime: Duration, maneuverPoint: GeoPoint, drivingSide: DrivingSide, combineWithNext: Boolean, previousSignificantRoad: RoadInformation? = null, nextSignificantRoad: RoadInformation? = null, routePath: List<RouteCoordinate> = emptyList(), intersectionName: String = "", signpost: Signpost? = null, turnAngle: Angle, exitNumber: Int? = null, roundaboutDirection: RoundaboutDirection, quantizedTurnAngle: QuantizedTurnAngle? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A List of RouteCoordinates that represents a route path.
Link copied to clipboard