[openstreetmap/openstreetmap-website] Migrate the edit location page from leaflet to Maplibre (PR #6675)
Frank Elsinga
notifications at github.com
Sun Jan 4 19:48:38 UTC 2026
@CommanderStorm commented on this pull request.
> marker.addTo(map);
- map.panTo([lat, lon]);
+ map.panTo([lon, lat]);
We do!
https://maplibre.org/maplibre-gl-js/docs/API/classes/Map/#panto
but maybe `easeTo` would be better UX, not sure
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6675#discussion_r2659886496
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6675/review/3625147243 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260104/7bd0dc9d/attachment.htm>
More information about the rails-dev
mailing list