get Distance Matrix
open fun getDistanceMatrix( @NonNull origins: List<Point>, @NonNull destinations: List<Point>, @NonNull graphId: String, @NonNull distanceMatrixReceiver: MPDistanceMatrixReceiver)
Content copied to clipboard
Gets a matrix of distances and duration between points inside a a venue
Parameters
origins
a list of points as origins
destinations
a list of points as destinations
graph Id
the Graph id for a specific venue. This is available through getGraphId
distance Matrix Receiver
The Distance Matrix listener that returns either a distance matrix or an error, if it is not possible to create a distance matrix for the given origins and destinations