TurnGuidanceInstruction
data class TurnGuidanceInstruction( val id: UniqueId, val routeOffset: Distance, val travelTime: Duration, val maneuverPoint: GeoCoordinate, val junctionType: JunctionType? = null, val drivingSide: DrivingSide, val isPossibleToCombineWithNext: Boolean, val previousSignificantRoad: RoadInformation? = null, val nextSignificantRoad: RoadInformation? = null, val routePath: List<RouteCoordinate> = emptyList(), val intersectionName: String = "", val signpost: Signpost? = null, val turnAngleInDegrees: Int, val turnDirection: TurnDirection) : GuidanceInstruction
Content copied to clipboard
Guidance Instruction indicating a turn at a road junction.
See also
Important: This is a Public Preview API. It may be changed or removed at any time.
Parameters
turnAngleInDegrees
turn angle relative to the driving direction along the route. Expressed in the range -180...180 degrees.
turnDirection
classification of the relative angle of the turn.
Constructors
Link copied to clipboard
fun TurnGuidanceInstruction( id: UniqueId, routeOffset: Distance, travelTime: Duration, maneuverPoint: GeoCoordinate, junctionType: JunctionType? = null, drivingSide: DrivingSide, isPossibleToCombineWithNext: Boolean, previousSignificantRoad: RoadInformation? = null, nextSignificantRoad: RoadInformation? = null, routePath: List<RouteCoordinate> = emptyList(), intersectionName: String = "", signpost: Signpost? = null, turnAngleInDegrees: Int, turnDirection: TurnDirection)
Content copied to clipboard
Properties
Link copied to clipboard
Location of the maneuver expressed as a GeoCoordinate.
Link copied to clipboard
A List of RouteCoordinates that represents a route path.