<p></p>
<p dir="auto">I suppose the issues listed below are a side effect of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2469768537" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5084" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5084/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5084">#5084</a>. I would just fix the respective unit tests to re-align them with the current implementation.</p>
<pre class="notranslate"><code class="notranslate"> 1) OSM .formatHash formats lat/lon/zoom params
Failure/Error: expected '#map=9/57.625/-3.685' to equal '#map=9/57.6247/-3.6845'
2) OSM .formatHash respects zoomPrecision
Failure/Error: expected '#map=5/57.62/-3.68' to equal '#map=5/57.625/-3.685'
3) OSM .formatHash formats layers params
Failure/Error: expected '#map=9/57.625/-3.685&layers=C' to equal '#map=9/57.6247/-3.6845&layers=C'
4) OSM .formatHash ignores default layers
Failure/Error: expected '#map=9/57.625/-3.685' to equal '#map=9/57.6247/-3.6845'
5) OSM .zoomPrecision suggests 0 digits for z0-1
Failure/Error: expected 1 to equal 0
6) OSM .zoomPrecision suggests 3 digits for z5-8
Failure/Error: expected 2 to equal 3
7) OSM .zoomPrecision suggests 4 digits for z9-16
Failure/Error: expected 3 to equal 4
8) OSM .zoomPrecision suggests 5 digits for z17-20
Failure/Error: expected 6 to equal 5
9) OSM .locationCookie creates a location cookie value
Failure/Error: expected '-3.685|57.625|9|M' to equal '-3.6845|57.6247|9|M'
10) OSM .locationCookie respects zoomPrecision
Failure/Error: expected '-3.685|57.625|9|M' to equal '-3.6845|57.6247|9|M'
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5216#issuecomment-2395022501">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJWWRKRXYES4PFTLRTZZ7C3FAVCNFSM6AAAAABOG7LML6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVGAZDENJQGE">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLLRXI2X4EFOFA4VQB3ZZ7C3FA5CNFSM6AAAAABOG7LML6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUOYESKK.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/5216/c2395022501</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/5216#issuecomment-2395022501",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5216#issuecomment-2395022501",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>