RouteLegOptions

constructor(supportingPoints: List<GeoPoint> = emptyList(), chargingInformation: ChargingInformation? = null, routeType: RouteType? = null)

Constructs per-leg route planning options.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

supportingPoints

A list of base route points to be used for route reconstruction.

chargingInformation

How much to charge at a charging station.

routeType

Strategy for selecting roads during route calculation.


constructor(supportingPoints: List<GeoPoint>, chargingInformation: ChargingInformation? = null)

Parameters

supportingPoints

A list of base route points to be used for route reconstruction.

chargingInformation

Specifies how much to charge at a charging station.