Show / Hide Table of Contents

Constructor SimulationParameters

SimulationParameters()

Initializes a new instance of the SimulationParameters class.

Declaration
public SimulationParameters()

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.8 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.8 - 200.7
Xamarin.Android100.8 - 100.15
Xamarin.iOS100.8 - 100.15
UWP100.8 - 200.7

SimulationParameters(DateTimeOffset, Double, Double, Double)

Initializes a new instance of the SimulationParameters class.

Declaration
public SimulationParameters(DateTimeOffset startTime, double velocity = 10, double horizontalAccuracy = 0, double verticalAccuracy = 0)
Parameters
Type Name Description
System.DateTimeOffset startTime

Date and time of the first location. Each subsequent location will increment its timestamp by one second.

System.Double velocity

Rate of travel, in meters per second. Note that a low velocity increases the number of locations created. The default value is 10.0.

System.Double horizontalAccuracy

The horizontal accuracy to assign to generated locations. The default value is 0.0.

System.Double verticalAccuracy

The vertical accuracy to assign to generated locations. The default value is 0.0.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.8 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.2 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.8 - 200.7
Xamarin.Android100.8 - 100.14
Xamarin.iOS100.8 - 100.15
UWP100.8 - 200.7
Relevant samples
Navigate route: Use a routing service to navigate between points.
Show location history: Display your location history on the map.
In This Article
Back to top Copyright © 2022 Esri.