ExitHighwayInstruction
data class ExitHighwayInstruction( val id: UniqueId = UniqueId(), val routeOffset: Distance, val travelTime: Duration, val maneuverPoint: GeoCoordinate, val drivingSide: DrivingSide, val isPossibleToCombineWithNext: Boolean, val announcements: List<Announcement> = emptyList(), val previousSignificantRoad: RoadInformation? = null, val nextSignificantRoad: RoadInformation? = null, val routePath: List<RouteCoordinate> = emptyList(), val intersectionName: TextWithPhonetics? = null, val signpost: Signpost? = null, val landmark: Landmark? = null, val startPointIndex: Int = 0, val sideStreetOffset: Distance? = null, val trafficLightOffset: Distance? = null, val exitDirection: ExitDirection) : Instruction
Content copied to clipboard
Instruction indicating taking a highway exit.
Important: This is a Public Preview API. It may be changed or removed at any time.
See also
Parameters
exitDirection
the direction of the exit relative to the direction of travel.
Constructors
Link copied to clipboard
fun ExitHighwayInstruction( 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, exitDirection: ExitDirection)
Content copied to clipboard
Properties
Link copied to clipboard
Fine-grained Announcements for the Instruction.
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.