title: Google AutoComplete Query in Swift
body: <p>I am using a google maps auto complete query as you seen in the below I determine the bounds of autocomplete around my location but I am still getting a places so far from my location. I also check the bounds.southwest and bounds.northeast, they are also true but places are not arsounds here.</p>
  
  <pre><code>    var northRegion = CLLocationCoordinate2DMake((locationManager.location?.coordinate.latitude)!*1.0001, (locationManager.location?.coordinate.longitude)!*1.01)
      var southRegion = CLLocationCoordinate2DMake((locationManager.location?.coordinate.latitude)!*0.99, (locationManager.location?.coordinate.longitude)!*0.9999)
  
      var bounds = GMSCoordinateBounds(coordinate: northRegion, coordinate: southRegion)
  
      print(locationManager.location?.coordinate.latitude)
      print(locationManager.location?.coordinate.longitude)
      print(bounds.northEast)
      print(bounds.southWest)
      var filter = GMSAutocompleteFilter()
      filter.type = GMSPlacesAutocompleteTypeFilter.Geocode
  
  
      var yourLat = locationManager.location?.coordinate.latitude
      var yourLon = locationManager.location?.coordinate.longitude
  
  
  
      placesClient = GMSPlacesClient()
  
      placesClient?.autocompleteQuery("[YOUR TEXTFIELD'S TEXT HERE]", bounds: bounds, filter: filter, callback: { (result, error) -&gt; Void in
  
          for item in result! {
  
              print(item.attributedFullText)
          }
      })
  </code></pre>
  
  <p>For example, my location is Istanbul and when I wrote this, I am getting Cape Town datas.</p>