title: Leaflet.js - Fit geoJSON co-ordinates on map view
body: <p>I have a leaflet.js map that has points and linestrings on it that come from an external JSON file.</p>
  <p>If I add:</p>
  <pre><code>map.setView(new L.LatLng(0,0), 10);
  </code></pre>
  <p>It will centre the map on the latitude and longitude 0,0. How can I set it so the map centre and zoom fit all of the points from the JSON on it?</p>