[openstreetmap/openstreetmap-website] Add coordinate precision function (PR #5581)

Marwin Hochfelsner notifications at github.com
Sun Feb 2 01:44:54 UTC 2025


@hlfan commented on this pull request.



> @@ -211,11 +207,16 @@ OSM = {
     return Math.ceil(Math.log10(pixels / degrees));
   },
 
+  cropLocation: function (latLng, zoom = map.getZoom()) {

I'm still trying to work out the problem in #5571, but force-pushing from another branch helped.

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

Message ID: <openstreetmap/openstreetmap-website/pull/5581/review/2588442548 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250201/0a449409/attachment.htm>


More information about the rails-dev mailing list