← Retour aux issues

zoom out to GPS range only once?

publié le , mis à jour
Avatar Codeberg de severosevero

When I click on the button to localize me on the map, in the itinerary form, I cannot zoom in. In my case, on a laptop, the position is very rough, only based on my Internet provider, I guess, and the GPS error range is very large.

It's nice to zoom to the GPS error range, but I think it should be only once. Then, we should be able to zoom in and out without the automated zoom to GPS error range again and again.

<video src="https://codeberg.org/attachments/f9d57a94-f05e-4442-9139-1870ed386a3f" title="Capture vidéo du 2026-07-08 17-16-15" controls></video>

  1. Avatar Codeberg de laemlaem

    Yes, it's an annoying bug.

    Funny : I'm currently working on this. Your bug is not solved, but a new button appears, to set the perspective to the whole itinerary.

  2. Avatar Codeberg de laemlaem

    Just found out it's not a bug on our side !

    See the MapLibre demo, it has the same behaviour : https://maplibre.org/maplibre-gl-js/docs/examples/locate-the-user/

  3. Avatar Codeberg de laemlaem

    I suspect what happens is that the gps signal on the desktop is messed up, so this code which is tailored for mobile, creates an unexpected behaviour.


✏️ Participer à la discussion