limit Points On Route Simple
fun limitPointsOnRouteSimple(points: List<LatLng>, maxPoints: Int): List<LatLng>
Content copied to clipboard
Limits points on a route (List of LatLng) to a certain amount
Return
New list of LatLng
Parameters
points
List of LatLng
max Points
Amount of points to limit to