[openstreetmap/openstreetmap-website] Make sure that the zoom-in and zoom-out behaves the same when shift-clicked on leaflet and maplibre (PR #7205)

Marwin Hochfelsner notifications at github.com
Fri Jul 3 09:28:07 UTC 2026


hlfan left a comment (openstreetmap/openstreetmap-website#7205)

I think instead of adding more manual overrides, I'd rather make sure the shift key does do faster zooming at all instead of matching Leaflet exactly. Can we just delegate this to the library to work like this?

https://github.com/maplibre/maplibre-gl-js/blob/f52e8668d2e9042b035600f82057847e61e973b4/src/ui/handler/keyboard.ts#L16-L19

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7205#issuecomment-4874767474
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/7205/c4874767474 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260703/d8f26117/attachment.htm>


More information about the rails-dev mailing list