Step

@Serializable
data class Step(val distance: Double, val duration: Double, val instruction: String, val name: String, val type: Int, val wayPoints: List<Int>, val exitNumber: Int? = null)

Turn instruction within a segment.

Constructors

Link copied to clipboard
constructor(distance: Double, duration: Double, instruction: String, name: String, type: Int, wayPoints: List<Int>, exitNumber: Int? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "exit_number")
val exitNumber: Int? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: Int
Link copied to clipboard
@SerialName(value = "way_points")
val wayPoints: List<Int>