<p dir="auto">Another instance of <code class="notranslate">visible_nodes</code> like in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2825307384" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5584" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5584/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5584">#5584</a>, but this time it's being read. However it's largely useless because nodes are already collected into <code class="notranslate">@nodes</code>. Same for <code class="notranslate">way_ids</code>.</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/5585'>https://github.com/openstreetmap/openstreetmap-website/pull/5585</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5585/commits/560146d88c0c8a49d723d63ce79a382b90431133" class="commit-link">560146d</a>  Remove ids collected in parallel to model instances in map api</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5585/commits/b9f1e311229e89a6cc2718a87cc9cbe3db2ca9e5" class="commit-link">b9f1e31</a>  Use filter instead of loop in visible node/way collections</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5585/files">1 file</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5585/files#diff-78174c3668c1752d368762fe97c910e6f6806949d9829096844e8791ba1acc32">app/controllers/api/maps_controller.rb</a>
    (22)
  </li>
</ul>

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