mirror of
https://github.com/dotMorten/NmeaParser.git
synced 2026-04-05 14:35:50 +00:00
Update ArcGISRuntime.md
This commit is contained in:
parent
bbc7cb3589
commit
826d062569
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue