title: ios mylocationbutton missing on google map
body: <p>I'm trying to make a slide out navigation app with different views. One such view is the google map. However, when I run the app, the "Google" watermark appears but "My location" button is <strong>missing</strong>. It's very similar to this post <a href="https://stackoverflow.com/questions/18908352/google-map-sdk-ios-7-mylocationbutton-disappear">google map sdk ios 7 mylocationbutton disappear</a> but the <code>self.edgesForExtendedLayout = UIRectEdge.None;</code> doesn't change anything except give extra blank spaces. Also, it doesn't make sense why the google watermark appears and not the location button.</p>
  
  <p>In <code>ViewController.swift</code></p>
  
  <pre><code>override func viewDidLoad() {
      super.viewDidLoad()
  
      locationManager.delegate = self
      locationManager.requestWhenInUseAuthorization()
  
      mapView.delegate = self
  
      mapView.settings.rotateGestures = false;
      mapView.settings.compassButton = true;
  
  }
  
  func locationManager(manager: CLLocationManager!, didChangeAuthorizationStatus status: CLAuthorizationStatus) {
      if status == .AuthorizedWhenInUse {
  
          locationManager.startUpdatingLocation()
  
          mapView.myLocationEnabled = true
          mapView.settings.myLocationButton = true
      }
  }
  </code></pre>
  
  <p>Any help is greatly appreciated!</p>