mirror of
https://github.com/dotMorten/NmeaParser.git
synced 2025-12-06 07:12:04 +01:00
Update ArcGISRuntime.md
This commit is contained in:
parent
bbc7cb3589
commit
826d062569
|
|
@ -39,8 +39,8 @@ namespace NmeaParser.ArcGIS
|
|||
{
|
||||
LocationChanged?.Invoke(this, new LocationInfo()
|
||||
{
|
||||
Course = rmc.Course,
|
||||
Speed = rmc.Speed,
|
||||
Course = double.IsNaN(rmc.Course) ? 0 : rmc.Course, // Current ArcGIS Runtime limitation that course can't be NaN
|
||||
Speed = double.IsNaN(rmc.Speed) ? 0 : rmc.Speed,
|
||||
Location = new MapPoint(rmc.Longitude, rmc.Latitude, SpatialReferences.Wgs84)
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue