<p dir="auto">This PR adds the UI facing parts for <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2828592902" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/chef/issues/735" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/chef/pull/735/hovercard" href="https://github.com/openstreetmap/chef/pull/735">openstreetmap/chef#735</a> and adds WebP as as additional output format, as well as a checkbox to toggle copyright/attribution in the map export.</p>
<p dir="auto"><a href="https://github.com/user-attachments/assets/037f8b7c-a09a-4841-9b8b-8ed9d4667f87">image.png (view on web)</a></p>
<ul dir="auto">
<li><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #735.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="32671056" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/735" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/735/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/735">#735</a></li>
<li>Depends on <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2828592902" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/chef/issues/735" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/chef/pull/735/hovercard" href="https://github.com/openstreetmap/chef/pull/735">openstreetmap/chef#735</a></li>
</ul>

<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/5607'>https://github.com/openstreetmap/openstreetmap-website/pull/5607</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5607/commits/68a1ce22dcac71dd1500c190eee34339a83698d4" class="commit-link">68a1ce2</a>  Add copyright/attribution message to downloaded map images</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5607/files">4 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5607/files#diff-e15f8139afbbcbe98b89298674e7980a4a4500dbc54a431e1325a11adfe83f83">app/assets/javascripts/leaflet.share.js</a>
    (20)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5607/files#diff-54679e47bd91d0e1b44dc9fd7224f5dff4645487fe07e15aa4a9671039a818cb">app/controllers/export_controller.rb</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5607/files#diff-44438ce218f5287c58d0017f965d888715635d94280669896f75841fbd7b4cd7">config/locales/en.yml</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5607/files#diff-c5214c6ac7d239663aecd59e270a7be69caff34bb94d6dd1521e25c08eaa0a39">test/controllers/export_controller_test.rb</a>
    (4)
  </li>
</ul>

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