VehicleLeg

sealed class VehicleLeg : Leg

A leg which involves using a vehicle to travel

Properties

Link copied to clipboard
abstract val distance: Distance

The total distance along the path of this leg

Link copied to clipboard
val distanceMeters: Double
Link copied to clipboard
abstract val path: PathGeometry

The geographic path this leg traverses

Link copied to clipboard
abstract val travelDuration: Duration?

The time it should take to traverse the path of this leg. This does not include any time spent waiting or boarding at the start of the leg

Link copied to clipboard
val travelDurationSeconds: Int?
Link copied to clipboard
abstract val vehicleType: VehicleType

Inheritors

Link copied to clipboard
Link copied to clipboard