sdk-routing / com.tomtom.online.sdk.routing.matrix / MatrixRoutesSpecification / Builder / <init>

<init>

Builder(origins: List<LatLng>, destinations: List<LatLng>)

Builder used to create an instance of MatrixRoutesSpecification. Once constructed, the user cannot change the field values.

Parameters

origins - A list of origin locations used to calculate matrix routes.

destinations - A list of destination locations used to calculate matrix routes.