← Retour aux issues

The compass arrow should appear on all smartphones

publié le , mis à jour
Avatar Codeberg de laemlaem

This is not the case in Cartes.

By @hayriokcu.

Yes it should ! We even have a compass page that is the best hit on Google search. https://cartes.app/boussole

It's designed to work for iPhones, but it may be bugged now. Hence this issue. I don't have an iPhone at hand right now.

  1. Avatar Codeberg de hayriokcuhayriokcu

    I confirm that the addition to Cartes.app the compass in the https://cartes.app/boussole page does not work. iPhone 11 Safari , and Vivaldi browsers.

  2. Avatar Codeberg de laemlaem

    You're right ! Just checked too. Some websites seem to work through a user permission.

  3. Avatar Codeberg de hayriokcuhayriokcu

    Perfect, that's it!

  4. Avatar Codeberg de laemlaem

    Partially fixed by 1927 : @hayriokcu can you check that cartes.app/boussole works (in 5 minutes of deployment) ?

    Then we need to fix :

    • make the compass work through a user permission dialog triggered by MapCompassArrow.tsx that will be displayed on the map once (we hope it is remembered...)

    It could clash with the indoor map dialog. Make first the user answers this question first. Could need some code migration, not trivial.

  5. Avatar Codeberg de hayriokcuhayriokcu

    The issue solved on https://cartes.app/boussole. Now after accepting request it precisely responds to the rotation.

    However in the Cartes.app IOS mobile still do not have request so the issue persists.

  6. Avatar Codeberg de laemlaem

    You mean the PWA ? Or the main map expérience ?


✏️ Participer à la discussion