getDirections

open override fun getDirections(to: MPINavigatable, from: MPINavigatable, accessible: Boolean, directionsCallback: (MPIDirections?) -> Unit)

Get directions to a MPINavigatable (MPINavigatable.MPINode, MPINavigatable.MPILocation, MPINavigatable.MPIPolygon) from another MPINavigatable

Return

Unit

Parameters

to

The destination MPINavigatable for the directions

from

The starting MPINavigatable for the directions

accessible

Whether or not the directions are accessible (uses connections that are accessible), defaults to true

directionsCallback

The callback that contains the MPIDirections

open override fun getDirections(to: MPIDestinationSet, from: MPINavigatable, accessible: Boolean, directionsCallback: (List<MPIDirections>?) -> Unit)

Get directions to a MPIDestinationSet (MPINavigatable.MPINode, MPINavigatable.MPILocation, MPINavigatable.MPIPolygon) from another MPINavigatable

Return

Unit

Parameters

to

The multi destination list of MPINavigatables for the directions

from

The starting MPINavigatable for the directions

accessible

Whether or not the directions are accessible (uses connections that are accessible), defaults to true

directionsCallback

The callback that contains the MPIDirections