TollgateInstruction
data class TollgateInstruction( val id: UniqueId = UniqueId(), val routeOffset: Distance, val travelTime: Duration, val maneuverPoint: GeoCoordinate, val junctionType: JunctionType? = null, val drivingSide: DrivingSide, val isPossibleToCombineWithNext: Boolean, val announcements: List<Announcement> = emptyList(), val maneuverType: Maneuver? = null, val previousSignificantRoad: RoadInformation? = null, val nextSignificantRoad: RoadInformation? = null, val routePath: List<RouteCoordinate> = emptyList(), val intersectionName: String = "", val signpost: Signpost? = null, val startPointIndex: Int = 0, val tollgateName: String = "", val paymentTypes: Set<TollgatePaymentType> = emptySet()) : Instruction
Content copied to clipboard
Instruction indicating an upcoming tollgate.
See also
Important: This is a Public Preview API. It may be changed or removed at any time.
Parameters
tollgateName
the name of the tollgate, if any.
paymentTypes
the payment types accepted at the tollgate, if available.
Constructors
Link copied to clipboard
fun TollgateInstruction( id: UniqueId = UniqueId(), routeOffset: Distance, travelTime: Duration, maneuverPoint: GeoCoordinate, junctionType: JunctionType? = null, drivingSide: DrivingSide, isPossibleToCombineWithNext: Boolean, announcements: List<Announcement> = emptyList(), maneuverType: Maneuver? = null, previousSignificantRoad: RoadInformation? = null, nextSignificantRoad: RoadInformation? = null, routePath: List<RouteCoordinate> = emptyList(), intersectionName: String = "", signpost: Signpost? = null, startPointIndex: Int = 0, tollgateName: String = "", paymentTypes: Set<TollgatePaymentType> = emptySet())
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
Link copied to clipboard
A List of RouteCoordinates that represents a route path.