[openstreetmap/openstreetmap-website] Migrate the edit location page from leaflet to Maplibre (PR #6675)
Frank Elsinga
notifications at github.com
Sun Jan 4 19:41:35 UTC 2026
### Description
This PR migrates the edit location page from leaflet to maplibre.
This also fixes that zooming to a location is very jumpy and not very polished.
Now, this is an exponential function which "feels" in my book much better.
Instead of flying there, I can also fast-zoom-jump there, but that does not feel like the best UX for me.
I disabled rotation, pich and yaw for this one, since for selecting a location you likely want this.
### How has this been tested?
Via docker, manually starting the map, interactig with it.
Locations get set appropriately, all buttons work.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6675
-- Commit Summary --
* inital migration
-- File Changes --
M app/assets/javascripts/user.js (74)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6675.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6675.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6675
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6675 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260104/98349527/attachment.htm>
More information about the rails-dev
mailing list