<p></p>
<blockquote>
<p dir="auto">"2." form <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5064#issuecomment-2285981589" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5064/hovercard">#5064 (comment)</a> - I only see one request to Nominatim happening when "Directions from/to here" is selected. I fixed something like this in <a href="https://github.com/openstreetmap/openstreetmap-website/commit/2d1cf4c380442595d7a4629f3a4c79124277f12b">2d1cf4c</a> but wasn't it written before the comment?</p>
</blockquote>
<p dir="auto"><a href="https://github.com/user-attachments/assets/e5b3980e-4779-4104-8cc0-4b581a631ea4">https://github.com/user-attachments/assets/e5b3980e-4779-4104-8cc0-4b581a631ea4</a></p>
<p dir="auto">If one point is valid and you change the second one, yes, there is only one request from nominatim. But, if one point is invalid and you change the second one, it will request from nominatim 2 times (once for each point).</p>
<p dir="auto">I used the latest sources at the moment on which I applied this PR.</p>
<p dir="auto">Thanks!</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/pull/5064#issuecomment-2301689102">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPAL4BKHI2KG224LPTZSRSPZAVCNFSM6AAAAABMKM6E5WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBRGY4DSMJQGI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIFTEA3XHBYV5GRNEDZSRSPZA5CNFSM6AAAAABMKM6E5WWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUJGD6Q4.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/5064/c2301689102</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/5064#issuecomment-2301689102",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5064#issuecomment-2301689102",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>