<p dir="auto">This is a first commit of another fix which I didn't finish yet because of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2816951123" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5570" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5570/hovercard?comment_id=2621121469&comment_type=issue_comment" href="https://github.com/openstreetmap/openstreetmap-website/pull/5570#issuecomment-2621121469">#5570 (comment)</a> and some other things but it should fix the same problem <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2816951123" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5570" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5570/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5570">#5570</a> fixes.</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/5573'>https://github.com/openstreetmap/openstreetmap-website/pull/5573</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5573/commits/4f4808a9fd893fb9a5c109d16b6eb8877749f605" class="commit-link">4f4808a</a>  Don't remove-readd standard layer when layerParam is not empty in map.updateLayers</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5573/files">1 file</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5573/files#diff-f060eef487077b042f45b3a12e7a2cbd54a446f8c744cdb98405a1295430e8b9">app/assets/javascripts/leaflet.map.js</a>
    (17)
  </li>
</ul>

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