### Description

This PR updates maplibre to 5.17 and adds the `zoomSnap` option.
The motivation behind this bump is:
- This resolves #6618 which was the blocker that @imagico identified.

`zoomSnap` does mean that on these zoom levels while I can still zoom to an 
fractional zoom level, this is not something that "sticks".

### How has this been tested?

I have no clue which PR seems to have broken the docker and devcontainer based 
setup, but I cannot get a development environment online.
This is bad since the native installation also does not work.
So effectively, this PR is not tested.

If someone has a working development environment, this should be fairly simple 
to test:
- Using either a mouse or touch (not a touchpad, that part is not currently 
implemented!), soom to an fractional zoom and then let go of the map on one of 
the secondary maps.
The map will snap to the next zoom level as you intended to zoom to.

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/6746

-- Commit Summary --

  * Activate `zoomSnap` on raster based maps

-- File Changes --

    M app/assets/javascripts/maplibre/map.js (1)
    M package.json (2)
    M yarn.lock (1200)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/6746.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6746.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6746
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

Reply via email to