title: Fit entire Google Map in zoom level in Swift project
body: <p>I have a google map with a bunch of coordinates</p>
  
  <pre><code>path.addCoordinate(CLLocationCoordinate2DMake(-37.813047, 144.959911))
  path.addCoordinate(CLLocationCoordinate2DMake(-37.814895, 144.960759))
  path.addCoordinate(CLLocationCoordinate2DMake(-37.814361, 144.963140))
  path.addCoordinate(CLLocationCoordinate2DMake(-37.812386, 144.962239))
  </code></pre>
  
  <p>I would like the map to be automatically zoomed to the best level based on the points however I can't find anything relating to this.</p>
  
  <p>I have this working:</p>
  
  <pre><code>var vancouver = CLLocationCoordinate2DMake(-37.813047, 144.959911)
  var calgary = CLLocationCoordinate2DMake(-37.814361, 144.963140)
  var bounds = GMSCoordinateBounds(coordinate: vancouver, coordinate: calgary)
  var camera = viewMap.cameraForBounds(bounds, insets:UIEdgeInsetsZero)
  viewMap.camera = camera
  </code></pre>
  
  <p>however it only accepts 2 coordinates where I may have up to 100</p>
  
  <p>Thanks</p>