getRouteFromLocations

fun getRouteFromLocations(locations: List<LatLng>, considerTraffic: Boolean = false): Result<RoutePlan>

Get route from locations

Return

route

Parameters

locations

list of locations

considerTraffic

consider traffic