RouteLegOptions

public struct RouteLegOptions

Options specific for concrete leg.

  • Initializes the options with the given supporting points and charging information, if any.

    Declaration

    Swift

    public init(supportingPoints: [CLLocationCoordinate2D], chargingInformation: ChargingInformation? = nil)

    Parameters

    supportingPoints

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

    chargingInformation

    Information on how much to charge at a charging station.

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

    Declaration

    Swift

    public let supportingPoints: [CLLocationCoordinate2D]
  • Information on how much to charge at a charging station.

    Declaration

    Swift

    public let chargingInformation: ChargingInformation?