<p><a href="https://github.com/tomhughes" class="user-mention">@tomhughes</a> well in cases like that it helps to have a look at the API documentation:</p>
<p><a href="https://github.com/Project-OSRM/osrm-backend/wiki/Server-api#query-2">https://github.com/Project-OSRM/osrm-backend/wiki/Server-api#query-2</a></p>
<p>Last value of the instructions array <code>mode</code>. It is save to use the value from the default profile since we operate the demo server and don't intend to change it.</p>
<p>That said there seems to be a bug in the instructions generation that doesn't advertise a new instruction if there is no turn (regardless of whether the mode changes or not). Tracking that in <code>osrm-backend</code>. Regardless mode support is still missing from osm.org, so you should re-open this.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/issues/1000#issuecomment-117545316">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLSWtWTVuEHX6lrtSChLaGLEZAOWJks5oY6EsgaJpZM4FOiYd.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/issues/1000#issuecomment-117545316"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>