add

@JvmName(name = "addByNodes")
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.


@JvmName(name = "addByCoordinates")
fun add(    coordinates: List<MPIMap.MPICoordinate>,     options: MPIOptions.Path? = MPIOptions.Path(),     addPathCallBack: (MPINavigatable.MPIPath?) -> Unit? = null)

Takes a List of MPIMap.MPICoordinate instances and draws an MPIPath with path segments on each map corresponding to the coordinates on that map.

Return

Unit

Parameters

coordinates

The list of MPIMap.MPICoordinate 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.