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

Holger Jeromin notifications at github.com
Wed Feb 12 07:51:25 UTC 2025


@HolgerJeromin 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")];

We have again both 16 and 17 default zoom level in this PR.

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

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


More information about the rails-dev mailing list