From 551519bf27179d5d370920c7784f0b57600d1217 Mon Sep 17 00:00:00 2001 From: Reilly Grant Date: Wed, 14 Aug 2024 01:35:16 +0000 Subject: [PATCH] Correction: Use null instead of NaN when stationary This ammends the existing correction clarifying the units and conditions for the heading property. This matches existing implementations which return null in this scenario. --- index.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 7def08c..4400199 100644 --- a/index.html +++ b/index.html @@ -943,10 +943,9 @@

A {{double?}} that represents the heading in - degrees, or `null` if not available, or `NaN` if - the device is stationary. Heading measures the - direction in which the device is moving relative to - true north. + degrees, or `null` if not available or the device + is stationary. Heading measures the direction in + which the device is moving relative to true north.