Show / Hide Table of Contents

Class SimulationParameters

Parameters to control how locations are created from a simulated route of travel polyline.

Inheritance
Object
SimulationParameters
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Object.ToString()
Namespace: Esri.ArcGISRuntime.Location
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class SimulationParameters
Remarks

This can be provided as an input to the SetLocationsWithPolyline(Polyline, SimulationParameters) method to specify the start time for the first location, travel velocity (meters per second), and horizontal and vertical accuracy of locations.

Constructors

Name Description
SimulationParameters()

Initializes a new instance of the SimulationParameters class.

SimulationParameters(DateTimeOffset, Double, Double, Double)

Initializes a new instance of the SimulationParameters class.

Properties

Name Description
HorizontalAccuracy

Gets or sets the horizontal accuracy to assign to generated locations. The default value is 0.0.

StartTime

Gets or sets the date and time of the first location. Each subsequent location will increment its timestamp by one second.

Velocity

Gets or sets the rate of travel, in meters per second

VerticalAccuracy

Gets or sets the vertical accuracy to assign to generated locations. The default value is 0.0.

Applies to

TargetVersions
.NET Standard 2.0100.8 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.8 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.8 - 100.12
Xamarin.Android100.8 - 100.15
Xamarin.iOS100.8 - 100.15
UWP100.8 - 100.15

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.