Builder(origins: List<LatLng>, destinations: List<LatLng>)
Builder used to create an instance of MatrixRoutesSpecification. Once constructed, the user cannot change the field values.
origins
- A list of origin locations used to calculate matrix routes.
destinations
- A list of destination locations used to calculate matrix routes.