title: Change Google Map size iOS Swift
body: <p>I can't find anything on this so I am asking. when I use the code provided by Google on its website, I get a map in the controller that is full screen. I want to be able to show it within a container (fixed width &amp; height). </p>
  
  <p>I am using swift and would appreciate your help. Below is the code I extracted from google:</p>
  
  <pre><code>Override func viewDidLoad() {
          super.viewDidLoad()
  
          var camera = GMSCameraPosition.cameraWithLatitude(-33.86,
              longitude: 151.20, zoom: 2)
          var mapView = GMSMapView.mapWithFrame(CGRectZero, camera: camera)
          mapView.myLocationEnabled = true
          self.view = mapView
  
          var marker = GMSMarker()
          marker.position = CLLocationCoordinate2DMake(-33.86, 151.20)
          marker.title = "Sydney"
          marker.snippet = "Australia"
          marker.map = mapView
  
          // Do any additional setup after loading the view.
      }
  </code></pre>