CustomMatrix

@Serializable
data class CustomMatrix(val durations: List<List<Int>>? = null, val distances: List<List<Int>>? = null)

Constructors

Link copied to clipboard
constructor(durations: List<List<Int>>? = null, distances: List<List<Int>>? = null)

Properties

Link copied to clipboard
val distances: List<List<Int>>? = null

Optional distances in meters

Link copied to clipboard
val durations: List<List<Int>>? = null

Square matrix in seconds; required if provided