sdk-routing / com.tomtom.online.sdk.routing.data.matrix / MatrixRoutingQuery / <init>

<init>

MatrixRoutingQuery(origins: MutableList<LatLng!>!, destinations: MutableList<LatLng!>!)

The primary constructor for MatrixRoutingQuery.

Parameters

origins - MutableList<LatLng!>!: A list of origin locations used to calculate matrix routes.

destinations - MutableList<LatLng!>!: A list of destination locations used to calculate matrix routes.

MatrixRoutingQuery(origins: MutableList<LatLng!>!, destinations: MutableList<LatLng!>!, departAt: Date!, routeType: RouteType!, considerTraffic: Boolean!, avoidType: Avoid!, avoidsList: MutableList<Avoid!>!, travelMode: TravelMode!, hilliness: Hilliness!, windingness: Windingness!, vehicleMaxSpeedInKph: Int!, vehicleWeightInKg: Int!, vehicleAxleWeightInKg: Int!, vehicleLengthInMeters: Double!, vehicleWidthInMeters: Double!, vehicleHeightInMeters: Double!, isVehicleCommercial: Boolean!, vehicleLoadType: VehicleLoadType!, vehicleEngineType: VehicleEngineType!, constantSpeedConsumptionInLitersPerHundredKm: SpeedToConsumptionMap!, currentFuelInLiters: Double!, auxiliaryPowerInLitersPerHour: Double!, fuelEnergyDensityInMJoulesPerLiter: Double!, accelerationEfficiency: Double!, decelerationEfficiency: Double!, uphillEfficiency: Double!, downhillEfficiency: Double!, constantSpeedConsumptionInKWhPerHundredKm: SpeedToConsumptionMap!, currentChargeInKWh: Double!, maxChargeInKWh: Double!, auxiliaryPowerInKW: Double!, adrTunnelRestrictionCode: AdrTunnelRestrictionCode!)