setCoordinates

fun setCoordinates(coordinates: List<Coordinate>, options: SimulationOptions? = null, sample: Boolean = true)

Sets the coordinates to simulate and starts the simulation.

Parameters

coordinates

Coordinates to replay.

options

Options that override the current ones, or null to keep them.

sample

Indicates whether the coordinates are resampled into an evenly spaced route.