title: Leaflet- Finding the Zoom Level Of Bounds Without Using a Map Instance
body: <p><strong>What I'm trying To DO</strong>:</p>
  
  <p>I'm in a bit of a pinch where I need to be able to <strong>find the leaflet zoom levels of multiple shapes without creating a map instance and moving all around it with <code>map.fitBounds()</code></strong>.</p>
  
  <hr>
  
  <p><strong>The 2 possible solutions that I'm stuck on:</strong></p>
  
  <p>1) <strong>I tried making mock/temp map to gain access to the <code>map.fitBounds()</code></strong> functionality and simulate <code>map.fitBounds()</code></p>
  
  <p>-But is not working because the map needs a div container to be instantiated. </p>
  
  <p>2) <strong>I've looked for ways to programmatically calculate the leaflet zoom.</strong></p>
  
  <p>-I haven't found any resources out there on how to do that.</p>
  
  <p>If you have any strategies to help me convert this raw data to their leaflet counterparts that would be AWESOME!! </p>