<p>In app/assets/javascripts/map.js.erb:</p>
<pre style='color:#555'>> @@ -1,265 +1,204 @@
> -var epsg4326 = new OpenLayers.Projection("EPSG:4326");
> +// Leaflet extensions
> +L.LatLngBounds.include({
</pre>
<p>I have to say I'm not a big fan of injecting code into existing Leaflet classes like this - is there any interest in taking any of these upstream <a href="https://github.com/mourner" class="user-mention">@mourner</a>?</p>
<p>Obviously things like toBBOX are probably a bit too specialised for that, but maybe they should just be separate functions?</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/pull/121/files#r2023609'>view it on GitHub</a>.
</p>
<img src='https://github.com/notifications/beacon/Jshd8sI44GVrKZBvymxqKMaI74MGmprT8Jg3uq9qI3wC23ieooSLsLyn1o3pzYqH.gif' height='1' width='1'>