Geo Polyline Simplification
Functions
Link copied to clipboard
fun simplify(points: List<Coords>, highestQuality: Boolean): List<Coords>
Content copied to clipboard
fun simplify(points: List<Coords>, tolerance: Double = SIMPLIFY_DEFAULT_TOLERANCE, highestQuality: Boolean = SIMPLIFY_DEFAULT_HIGHEST_QUALITY): List<Coords>
Content copied to clipboard
Reduces the number of points in a polyline while retaining its shape, giving a performance boost when processing it and also reducing visual noise.