[openstreetmap/openstreetmap-website] Add MapLibre zoom conversion (PR #7216)

Marwin Hochfelsner notifications at github.com
Wed Jul 8 05:04:48 UTC 2026


Instead of needing to write that out every time we call getZoom, let our local wrapper from #6726 do that.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add getZoom override to convert MapLibre's zoom level to OSM's format

-- File Changes --

    M app/assets/javascripts/maplibre/map.js (5)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/7216 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260707/7bde9942/attachment.htm>


More information about the rails-dev mailing list