add

fun add(    nodes: List<MPINavigatable.MPINode>,     options: MPIOptions.Path? = MPIOptions.Path(),     addPathCallBack: (MPINavigatable.MPIPath?) -> Unit? = null)

Takes a List of MPINavigatable.MPINode instances and draws an MPIPath with path segments on each map corresponding to the nodes on that map.

Return

Unit

Parameters

nodes

The list of MPINavigatable.MPINode instances to draw a path with.

options

The MPIOptions.Path options to use when drawing the path.

addPathCallBack

Callback for when the path has been created, contains an MPINavigatable.MPIPath as the first parameter.