Re: [magnetometer] Shouldn't need Web Service to compute declination

Addressing comments:

>Offline is a relevant use case for this API.

The Geolocation API exposes [heading] "in degrees, where 0° ≤ heading < 360°, counting clockwise relative to the true north." The heading is also exposed similarly through the Generic Sensor-based [Geolocation Sensor] for a more modern API shape, under incubation.

The offline requirement is satisfied by the existing Geolocation API.

>The Web service in the example exposes the user's latitude and longitude over HTTP.

This has been since fixed.

I'll close this issue now, we should reopen if new information resurfaces.

[heading]: https://dev.w3.org/geo/api/spec-source.html#heading
[Geolocation Sensor]: https://anssiko.github.io/geolocation-sensor/


-- 
GitHub Notification of comment by anssiko
Please view or discuss this issue at https://github.com/w3c/magnetometer/issues/18#issuecomment-334430427 using your GitHub account

Received on Thursday, 5 October 2017 10:52:53 UTC