CostModel
fun CostModel( routeType: RouteType = RouteType.FAST, considerTraffic: ConsiderTraffic = ConsiderTraffic.YES, avoidOptions: AvoidOptions? = null, supportingPoints: List<List<GeoCoordinate>> = emptyList())
Content copied to clipboard
Parameters
routeType
The overall path preference.
considerTraffic
Whether to ignore traffic.
avoidOptions
What to avoid.
supportingPoints
Polyline points to follow for each leg.