decode

fun decode(encodedPath: String, precision: Int = 5): List<Coords>

Decodes an encoded path string into a sequence of Coords.

Return

list of Coords making up the line

Since

1.0.0

See also

Parameters

encodedPath

a String representing an encoded path string

precision

OSRMv4 uses 6, OSRMv5 and Google uses 5