<p dir="auto">Improved unlinted version of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2797368627" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5519" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5519/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5519">#5519</a><br>
<a href="https://github.com/user-attachments/assets/0e868c5b-bdec-49ed-a668-93705c5ed8d3">openstreetmap_embed.png (view on web)</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/5522'>https://github.com/openstreetmap/openstreetmap-website/pull/5522</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5522/commits/e9b192f8fe4de46e260efbc7543b61241c868f90" class="commit-link">e9b192f</a>  Add syntactic sugar to URL argument extraction</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5522/commits/755482cd6e79dd2876a4ba544a3014954593de98" class="commit-link">755482c</a>  Shorten bbox application logic</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5522/commits/879fe8c57d6bf355f31b50e5e985c20a2621d713" class="commit-link">879fe8c</a>  Restructure layer handler to reduce repetition</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5522/commits/e77395d4493c381e530d15ad4f9a517d2d86ec40" class="commit-link">e77395d</a>  Add layer-type switching to use dark tiles</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5522/files">1 file</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5522/files#diff-8c15a01c0063fe88fd9f5197128e788856295e4755fbb4a3cbf7aa6be9f81ca7">app/assets/javascripts/embed.js.erb</a>
    (38)
  </li>
</ul>

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