title: Center/Set Zoom of Map to cover all visible Markers?
body: <p>I am setting multiple markers on my map and I can set statically the zoom levels and the center but what I want is, to cover all the markers and zoom as much as possible having all markets visible </p>
  
  <p>Available methods are following </p>
  
  <p><a href="https://developers.google.com/maps/documentation/javascript/reference#Map" rel="noreferrer"><code>setZoom(zoom:number)</code></a></p>
  
  <p>and </p>
  
  <p><a href="https://developers.google.com/maps/documentation/javascript/reference#Map" rel="noreferrer"><code>setCenter(latlng:LatLng)</code></a></p>
  
  <p>Neither <code>setCenter</code> supports multiple location or Location array input nor <code>setZoom</code> does have this type of functionality</p>
  
  <p><img src="https://i.stack.imgur.com/Bkqjl.jpg" alt="enter image description here"></p>