get Matrix
@JvmStatic()
Content copied to clipboard
Calculates the travel distances and durations between multiple origins and destinations for up to 25 routes.
See also
Parameters
origins
The origins.
destinations
The destinations.
mode
The travel mode.
units
The distance units.
callback
A callback.
fun getMatrix(origins: Array<Location>, destinations: Array<Location>, mode: Radar.RadarRouteMode, units: Radar.RadarRouteUnits, block: (status: Radar.RadarStatus, matrix: RadarRouteMatrix?) -> Unit)
Content copied to clipboard
Calculates the travel distances and durations between multiple origins and destinations for up to 25 routes.
See also
Parameters
origins
The origins.
destinations
The destinations.
mode
The travel mode.
units
The distance units.
block
A block callback.