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

<init>

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

Creates an instance of MatrixRoutingParamsBuilder with given origins and destinations lists.

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.

Exceptions

IllegalArgumentException -