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/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to