Companion

object Companion

Functions

Link copied to clipboard
fun calcDistanceBetweenTwoCoordinates(a: LatLng, b: LatLng): Double

Finds the distance between two polar coordinates

Link copied to clipboard
fun limitPointsOnRouteSimple(points: List<LatLng>, maxPoints: Int): List<LatLng>

Limits points on a route (List of LatLng) to a certain amount