<p></p>
<p dir="auto">Last update of the PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2420889941" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5009" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5009/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5009">#5009</a> adds functionality for canceling layer loading/unloading. Currently code in that PR works like this:</p>
<pre class="notranslate"><code class="notranslate">When checkmark is checked:
If unloading is in progress, cancel unloading
Run asynchronous layer loading
When checkmark is removed:
If loading is in progress. cancel loading
Run asynchronous layer unloading
</code></pre>
<p dir="auto"><a href="https://github.com/user-attachments/assets/669bd862-c3de-4dae-98b3-f7436718e850">https://github.com/user-attachments/assets/669bd862-c3de-4dae-98b3-f7436718e850</a></p>
<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/2800#issuecomment-2623680557">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOYJMOFRVDV4P3X4RL2NHGAXAVCNFSM6AAAAABWC463DSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRTGY4DANJVG4">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLNH7G7SN623TD2WMRD2NHGAXA5CNFSM6AAAAABWC463DSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTU4MIYC2.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/2800/2623680557</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/2800#issuecomment-2623680557",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2800#issuecomment-2623680557",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>