MPIPathManager
class MPIPathManager
A Manager for adding and removing paths.
Properties
Link copied to clipboard
A List of all MPINavigatable.MPIPath instances that are currently drawn.
Functions
Link copied to clipboard
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.
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.
Link copied to clipboard
Remove all MPINavigatable.MPIPath instances from all maps.