### Description This PR breaks out the `autoPan` functionality that markers have on the note addition page and adds it to the diary adding page. (with the different maplibre core, but still same logic)
The hidden motivation is that this is another 40 lines shaved off the big 2.5k line PR that I can ship independently. ### How has this been tested? <img width="1920" height="1080" alt="Recording 2026-06-27 at 17 08 23" src="https://github.com/user-attachments/assets/7710321e-b715-49d9-a22d-16d06dbdbadd" /> You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/7188 -- Commit Summary -- * add autoPan-ing -- File Changes -- M app/assets/javascripts/diary_entry.js (2) M app/assets/javascripts/maplibre/dom_util.js (40) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/7188.patch https://github.com/openstreetmap/openstreetmap-website/pull/7188.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/7188 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/[email protected]>
_______________________________________________ rails-dev mailing list [email protected] https://lists.openstreetmap.org/listinfo/rails-dev
