sdk-routing / com.tomtom.online.sdk.routing.data.matrix / MatrixRoutingQueryBuilder / create

create

@JvmStatic fun create(origins: List<LatLng>, destinations: List<LatLng>): MatrixRoutingQueryBuilder

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

Parameters

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

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

Return
newly created builder object for MatrixRoutingQuery to be used for further processing