RouteLegOptions

class RouteLegOptions(val supportingPoints: List<GeoPoint>, val chargingInformation: ChargingInformation? = null)

Options for a specific leg.

Parameters

supportingPoints

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

chargingInformation

Specifies how much to charge at a charging station.

Constructors

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

Constructs per-leg route planning options.

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

Properties

Link copied to clipboard
Link copied to clipboard

Strategy for selecting roads during route calculation.

Link copied to clipboard

Functions

Link copied to clipboard
operator fun component1(): List<GeoPoint>
Link copied to clipboard
Link copied to clipboard
fun copy(supportingPoints: List<GeoPoint> = this.supportingPoints, chargingInformation: ChargingInformation? = this.chargingInformation): RouteLegOptions
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String