Method SetLocationsWithPolyline
SetLocationsWithPolyline(Polyline)
Creates a collection of locations using vertices from an input Polyline.
Declaration
public void SetLocationsWithPolyline(Polyline polyline)
Parameters
Remarks
The generated locations are available from the Locations property.
These location properties are populated based on the inputs: Timestamp, Position, and Velocity. The Course property is calculated based on the inputs.
These location properties are not set: Horizontal
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.8 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.8 - 200.6 |
Xamarin.Android | 100.8 - 100.15 |
Xamarin.iOS | 100.8 - 100.15 |
UWP | 100.8 - 200.6 |
SetLocationsWithPolyline(Polyline, SimulationParameters)
Creates a collection of locations along an input Polyline based on simulation parameters.
Declaration
public void SetLocationsWithPolyline(Polyline polyline, SimulationParameters simulationParameters)
Parameters
Type | Name | Description |
---|---|---|
Polyline | polyline | A Polyline that defines a simulated travel path. |
Simulation |
simulationParameters | Parameters to control how locations are created from the Polyline. |
Remarks
The generated locations are available from the Locations property.
Distance between each location on the Polyline is determined by the value of Velocity. If velocity is 10 meters per second, for example, the distance between locations will be 10 meters.
The Timestamp values will always be 1 second apart.
These location properties will be set based on the inputs: Timestamp,
Position, Velocity,
Horizontal
The Course property will be calculated based on the inputs and the
Is
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.8 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.8 - 200.6 |
Xamarin.Android | 100.8 - 100.15 |
Xamarin.iOS | 100.8 - 100.15 |
UWP | 100.8 - 200.6 |