find Waypath Between Waypoints
open fun findWaypathBetweenWaypoints(start: Waypoint, end: Waypoint, options: WayfindingOptions): Waypath
Finds shortest waypath between two waypoints using the Dijkstra algorithm.
Parameters
start
The starting waypoint.
end
The destination waypoint.
options
Options to use while determining waypath such as whether or not to use stairs or elevators.
open fun findWaypathBetweenWaypoints(start: Waypoint, end: Waypoint, options: WayfindingOptions, wayfindingDelegate: WayfindingDelegate, callback: VMDCallback)
Finds shortest waypath asynchronously between two waypoints using the Dijkstra algorithm. Notifies delegate after success or failure.
Parameters
start
The starting waypoint.
end
The destination waypoint.
options
Options to use while determining waypath such as whether or not to use stairs or elevators.
callback
The callback that contains what thread to call the delegate on