start Simulation
external fun startSimulation(waypoints: LandmarkList, navigationListener: NavigationListener, progressListener: ProgressListener, routePreferences: RoutePreferences? = null, speedMultiplier: Float = 1.0f): Int
Start a new navigation.
Parameters
waypoints
List of waypoints for the navigation.
navigation Listener
Listener for navigation-specific events.
route Preferences
Route calculation preferences.
progress Listener
Listener to be used for signaling route calculation progress events. This will be used only when the route is calculated or recalculated.
speed Multiplier
The route simulation speed multiplier. Accepted values are in the interval [simulationMinSpeedMultiplier, simulationMaxSpeedMultiplier] If set to 1.f the simulation speed is the speed limit of the traveled links