<p dir="auto">If a filter is applied to every tile separately, it's possible that the gaps between tiles become visible when zooming. I've only seen this happening in Chrome, both on desktop and mobile.</p>
<p dir="auto">It could have been the reason why I applied the filter to <code class="notranslate">.leaflet-tile-container</code> in the first place, which I had to undo in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2662198357" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5330" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5330/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5330">#5330</a>. Now I'm applying the filter to the container again, but I disable the unexpected filer inheritance (which is disabled in the current unreleased Leaflet code).</p>
<p dir="auto">Before:</p>
<p dir="auto"><a href="https://github.com/user-attachments/assets/cfa6b459-b1b1-4a7e-8523-5c656e62d3ca">https://github.com/user-attachments/assets/cfa6b459-b1b1-4a7e-8523-5c656e62d3ca</a></p>
<p dir="auto">After:</p>
<p dir="auto"><a href="https://github.com/user-attachments/assets/92d9c6b4-bb08-4f16-ac01-edfdecc0fc76">https://github.com/user-attachments/assets/92d9c6b4-bb08-4f16-ac01-edfdecc0fc76</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/5387'>https://github.com/openstreetmap/openstreetmap-website/pull/5387</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5387/commits/288d4bf83e1e29fb2ef69028205fdbd36a8d209e" class="commit-link">288d4bf</a>  Add map filter css property</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5387/commits/77182b7b5db25fec892097a988856095498f7291" class="commit-link">77182b7</a>  Disable filter inheritance on tiles, apply filter to tile container</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5387/files">1 file</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5387/files#diff-e86a39e6d0b163f152db8843fc7d647a3f5d648de4a74f1732bef4474b6e5bc8">app/assets/stylesheets/common.scss</a>
    (9)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5387.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5387.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5387.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5387.diff</a></li>
</ul>

<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/5387">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLN46KTJJAKFMQQ27TL2EWOEDAVCNFSM6AAAAABTI4K2LWVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4ZDOMJRGY4DQNI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLP4KY4UBGME6QYW3VT2EWOEDA5CNFSM6AAAAABTI4K2LWWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHKFDEAKU.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/5387</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/5387",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5387",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>