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
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

This implementation of the toString method removes the excessive supporting points, except for the first/last NUMBER_OF_SUPPORTING_POINTS_IN_LOG/2, since it clogs the logs.