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

Andy Allan notifications at github.com
Wed Jul 8 16:05:45 UTC 2026


@gravitystorm commented on this pull request.



> @@ -53,6 +53,11 @@ OSM.MapLibre.Map = class extends maplibregl.Map {
     }
     return map;
   }
+
+  getZoom() {

Does this need any refactoring for existing code? For example:

https://github.com/openstreetmap/openstreetmap-website/blob/dfdedc9b231bfa8e43099096731c6d630b25fa51/app/assets/javascripts/user.js#L73

If I understand it correctly (a big if), would this result in the zoom level being incremented twice?

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

Message ID: <openstreetmap/openstreetmap-website/pull/7216/review/4655920616 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260708/871d6463/attachment-0001.htm>


More information about the rails-dev mailing list