<p></p>
<h3 dir="auto">URL</h3>
<p dir="auto"><a href="https://www.openstreetmap.org/directions?engine=fossgis_osrm_car&route=66.6378%2C179.9788%3B66.6392%2C179.9848" rel="nofollow">https://www.openstreetmap.org/directions?engine=fossgis_osrm_car&route=66.6378%2C179.9788%3B66.6392%2C179.9848</a></p>
<h3 dir="auto">How to reproduce the issue?</h3>
<p dir="auto">Browser: Chrome 96.0<br>
macOS 11.2.3</p>
<ol dir="auto">
<li>Go to <a href="url">https://www.openstreetmap.org/directions?engine=fossgis_osrm_car&route=66.6378%2C179.9788%3B66.6392%2C179.9848</a></li>
<li>Drag the red marker a little bit closer to the antimeridian. (This is just a demo of Directions working correctly... so far so good.)</li>
<li>Drag the red marker east of the antimeridian. This does not work. Furthermore, <em>even if you drag the marker back to the west side of the antimeridian without having released your mouse button while it was on the east side,</em> OpenStreetMap is now messed up. The little gray wheel never stops spinning. Directions will never be calculated correctly again until you right-click on the map and specify a new point for "Directions to here."</li>
</ol>
<p dir="auto">The above example is in Russia. The following URL provides another example of the problem, in Fiji:</p>
<p dir="auto"><a href="url">https://www.openstreetmap.org/directions?engine=fossgis_osrm_car&route=-16.8001%2C179.9927%3B-16.7987%2C179.9943#map=16/-16.7960/179.9996</a></p>
<h3 dir="auto">Screenshot(s) or anything else?</h3>
<p dir="auto"><em>No response</em></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/issues/3407">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLXCXJVM7VDZSB727DUS6LYFANCNFSM5KZLWKYA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLKALSAXJSK4275IDCTUS6LYFA5CNFSM5KZLWKYKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4QHGVC2Q.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/issues/3407</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/issues/3407",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/3407",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>