Class Position
- Namespace
- SunamoGpx
- Assembly
- SunamoGpx.dll
Represents a geographical position with longitude and latitude coordinates.
public class Position
- Inheritance
-
Position
- Inherited Members
- Extension Methods
Properties
Lat
Gets or sets the latitude coordinate.
[JsonPropertyName("lat")]
public double Lat { get; set; }
Property Value
Lon
Gets or sets the longitude coordinate.
[JsonPropertyName("lon")]
public double Lon { get; set; }
Property Value
Methods
ToString()
Returns a string representation of the position in "latitude longitude" format.
public override string ToString()
Returns
- string
A string containing the latitude and longitude separated by a space.