add
fun add( nodes: List<MPINavigatable.MPINode>, options: MPIOptions.Path? = MPIOptions.Path(), addPathCallBack: (MPINavigatable.MPIPath?) -> Unit? = null)
Content copied to clipboard
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
Parameters
nodes
The list of MPINavigatable.MPINode instances to draw a path with.
options
The MPIOptions.Path options to use when drawing the path.
add Path Call Back
Callback for when the path has been created, contains an MPINavigatable.MPIPath as the first parameter.
fun add( coordinates: List<MPIMap.MPICoordinate>, options: MPIOptions.Path? = MPIOptions.Path(), addPathCallBack: (MPINavigatable.MPIPath?) -> Unit? = null)
Content copied to clipboard
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
Parameters
coordinates
The list of MPIMap.MPICoordinate instances to draw a path with.
options
The MPIOptions.Path options to use when drawing the path.
add Path Call Back
Callback for when the path has been created, contains an MPINavigatable.MPIPath as the first parameter.