<p></p>
<p dir="auto">When user tries to add a marker out of the borders of countries, alert is thrown "Sorry - couldn't locate", but marker is still added and if user drags it to the valid position, route is not updated (see Video 1).</p>
<p dir="auto">Video 1:</p>
<p dir="auto"><a href="https://github.com/user-attachments/assets/0c503351-5a3f-4050-bbc8-9f5ed605a0f2">https://github.com/user-attachments/assets/0c503351-5a3f-4050-bbc8-9f5ed605a0f2</a></p>
<p dir="auto">Contrary to this, if user adds marker in the valid location and then drags it out of the borders, route is still calculated and shown without any alerts (see Video 2).</p>
<p dir="auto">Video 2:</p>
<p dir="auto"><a href="https://github.com/user-attachments/assets/b10d91c4-5c47-4b1e-8975-69f1c97bf088">https://github.com/user-attachments/assets/b10d91c4-5c47-4b1e-8975-69f1c97bf088</a></p>
<p dir="auto">Maybe, in the first case, we should still show coordinates and calculate route even though Nominatim location was not found (as it is done in the second case).</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/4904#issuecomment-2270861923">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJKG32BWCQSJIGHCXDZQCLY5AVCNFSM6AAAAABJN5ACBGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZQHA3DCOJSGM">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMFMLB4D2MMVF5Z7RDZQCLY5A5CNFSM6AAAAABJN5ACBGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUHLKNGG.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/4904/c2270861923</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/4904#issuecomment-2270861923",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4904#issuecomment-2270861923",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>