Route Points
fun RoutePoints(nestedList: List<List<List<Point>>>, flatList: List<Point>)
Content copied to clipboard
Parameters
nestedList
nested arrays of legs -> steps -> points
flatList
list of all points on the route. The first and last point of adjacent steps overlap and are duplicated in this list.