MPIJourneyManager

class MPIJourneyManager

A journey manager.

This class encapsulates the methods that manage a journey.

Constructors

Link copied to clipboard
fun MPIJourneyManager()

Functions

Link copied to clipboard
fun clear()

Remove all paths and connection tooltips on the MPIMapView

Link copied to clipboard
fun draw(directions: MPIDirections, options: MPIOptions.Journey? = null)
fun draw(directions: List<MPIDirections>, options: MPIOptions.Journey? = null)

Draws a journey on the MPIMapView

Link copied to clipboard
suspend fun setStep(step: Int)
fun setStep(step: Int, callback: (MPIError?) -> Unit? = null)

Set the current step of a multi-part journey