SimulationParameters constructor

SimulationParameters({
  1. DateTime? startTime,
  2. double speed = 10.0,
  3. double horizontalAccuracy = 0.0,
  4. double verticalAccuracy = 0.0,
})

Creates a SimulationParameters.

Parameters:

  • startTime — Date and time of the first location. Each subsequent location will increment its timestamp by one second.
  • speed — Rate of travel, in meters per second. Note that a low velocity increases the number of locations created. The default value is 10.0.
  • horizontalAccuracy — The horizontal accuracy to assign to generated locations. The default value is 0.0.
  • verticalAccuracy — The vertical accuracy to assign to generated locations. The default value is 0.0.