[openstreetmap/openstreetmap-website] Clean OSM.formatHash calls (PR #5887)

Marwin Hochfelsner notifications at github.com
Tue May 6 19:55:07 UTC 2025


@hlfan commented on this pull request.



> +    return "" unless params[:lat].present? && params[:lon].present?
+
+    "#map=#{params[:zoom] || 17}/#{params[:lat]}/#{params[:lon]}"

It needs the `map=` to work, though?

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

Message ID: <openstreetmap/openstreetmap-website/pull/5887/review/2819450148 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250506/5275141b/attachment-0001.htm>


More information about the rails-dev mailing list