[openstreetmap/openstreetmap-website] Set iD map param with array (PR #5632)

Tom Hughes notifications at github.com
Sun Feb 9 14:49:14 UTC 2025


@tomhughes commented on this pull request.



>    } else if (id.data("lat") && id.data("lon")) {
-    params.set("map", "16/" + id.data("lat") + "/" + id.data("lon"));
+    map = [null, id.data("lat"), id.data("lon")];

Did you intend to change the zoom from 16 to 17 here?

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

Message ID: <openstreetmap/openstreetmap-website/pull/5632/review/2604276883 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250209/a7a15a1a/attachment.htm>


More information about the rails-dev mailing list