<p>Two problems with the OSRM routing script:</p>
<ol class="task-list">
<li>We always request z=14. The heavily generalised polyline looks bad at higher zoom levels. We should either request the current zoom level, or choose a higher default.</li>
<li>We always request instructions=true and refresh the LH directions panel, even when just dragging start/end points. This is flickery and inefficient. We should request instructions=false when dragging, instructions=true on dragend.</li>
</ol>
<p>I might get round to these at some point but they're fairly trivial changes so treat this both as an aide-memoire and as a suggestion for anyone looking for quick wins. :)</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/902">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLYeltfpA3Xwv34L3JEoSJ1PHbJhFks5nt7RjgaJpZM4DjlZ5.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/902"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>