[openstreetmap/openstreetmap-website] Don't draw compass needle for user's location (PR #6032)

Holger Jeromin notifications at github.com
Tue May 20 09:08:06 UTC 2025


HolgerJeromin left a comment (openstreetmap/openstreetmap-website#6032)

This checks internally for support of 
https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/alpha
or 
https://developer.apple.com/documentation/webkitjs/deviceorientationevent/1804777-webkitcompassheading
When this is no available, the compass hidden (for example on my desktop vivaldi/chrome)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6032#issuecomment-2893573903
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6032/c2893573903 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250520/c3114f69/attachment.htm>


More information about the rails-dev mailing list