goto

fun goto(source: Position, dest: Position, navigationMode: Boolean = false, graphId: Int? = null)

This function enable path drawing for a specific destination. The path drawing will from the source position to the selected destination position.

Parameters

source

represent the source

dest

represent the destination

navigationMode

if true draw the path in navigation mode

graphId

the id of the navigation graph