title: How to set zoom to fit circle in Google Maps
body: <p>We have distance search filter. It has a map viewport that allow to set base marker and a input text box that allows enter distance in kilometers. </p>
  
  <p>We then add a <a href="https://developers.google.com/maps/documentation/javascript/examples/circle-simple" rel="nofollow noreferrer">circle</a> to show this distance on the map. </p>
  
  <p>How can I zoom the map so it fits the circle?</p>