From 826d062569926452d63da41582cb51f69d0ff7e7 Mon Sep 17 00:00:00 2001 From: Morten Nielsen <1378165+dotMorten@users.noreply.github.com> Date: Wed, 22 Jul 2020 08:42:40 -0700 Subject: [PATCH] Update ArcGISRuntime.md --- docs/concepts/ArcGISRuntime.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/concepts/ArcGISRuntime.md b/docs/concepts/ArcGISRuntime.md index d848227..3fed588 100644 --- a/docs/concepts/ArcGISRuntime.md +++ b/docs/concepts/ArcGISRuntime.md @@ -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) }); }