<div style="display: flex; flex-wrap: wrap; white-space: pre-wrap; align-items: center; "><img height="20" width="20" style="border-radius:50%; margin-right: 4px;" decoding="async" src="https://avatars.githubusercontent.com/u/50826859?s=20&v=4" /><strong>hlfan</strong> left a comment <a href="https://github.com/openstreetmap/openstreetmap-website/issues/6618#issuecomment-3659611632">(openstreetmap/openstreetmap-website#6618)</a></div>
<p dir="auto">Raster resampling is not just an issue with MapLibre but also with Leaflet, since it doesn't force snapping to the pixel grid. To give an example of how bad it can look with Leaflet:</p>
<markdown-accessiblity-table><table role="table">
<thead>
<tr>
<th>on pixel grid</th>
<th>off pixel grid</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://github.com/user-attachments/assets/c3f2d38b-232a-4938-a00b-e6edba0f37e3">localhost_3000_.1.png (view on web)</a></td>
<td><a href="https://github.com/user-attachments/assets/a08cfaf1-a801-43f7-9e13-c6d4b3e53b31">localhost_3000_.png (view on web)</a></td>
</tr>
</tbody>
</table></markdown-accessiblity-table>

<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/issues/6618#issuecomment-3659611632">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPNOFUEK3KNHCRYZ5D4B7GSDAVCNFSM6AAAAACPDOKZPGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTMNJZGYYTCNRTGI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIVXWE4N3R7FAWW3FD4B7GSDA5CNFSM6AAAAACPDOKZPGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTW2EE67A.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/issues/6618/3659611632</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/issues/6618#issuecomment-3659611632",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/6618#issuecomment-3659611632",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>