<p>As per <a href="https://trac.openstreetmap.org/ticket/5055">https://trac.openstreetmap.org/ticket/5055</a> , this pull request attempts to restore the previous functionality of displaying a rectangle to outline the bounding box when box=yes is present in the URL query string along with a set of bounding-box coordinates.</p>
<hr>
<h4>You can merge this Pull Request by running</h4>
<pre> git pull https://github.com/rjw62/openstreetmap-website master</pre>
<p>Or view, comment on, or merge it at:</p>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/650'>https://github.com/openstreetmap/openstreetmap-website/pull/650</a></p>
<h4>Commit Summary</h4>
<ul>
<li>Display bbox if called for</li>
<li>Move bounds setup out of map starting position conditionals</li>
<li>Check for box=yes to set bbox drawing</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/650/files#diff-0">app/assets/javascripts/index.js</a>
(10)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/650/files#diff-1">app/assets/javascripts/osm.js.erb</a>
(29)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/650.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/650.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/650.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/650.diff</a></li>
</ul>