title: What is the purpose of LatLngBounds in GeoDataApi.getAutocompletePredictions()?
body: <p>What is <code>LatLngBounds</code> object used for in Google Places Autocomplete API?</p>
  <p>.. and/or what does it mean by :</p>
  <blockquote>
  <p><em><strong>biasing the results to a specific area</strong></em> specified by latitude and longitude bounds</p>
  </blockquote>
  <p>?</p>
  <p>In the Google Places Autocomplete docs, it says to pass in <code>LatLngBounds</code> and <code>AutocompleteFilter</code> .</p>
  <pre><code>PendingResult&lt;AutocompletePredictionBuffer&gt; result =
      Places.GeoDataApi.getAutocompletePredictions(
          mGoogleApiClient, query, bounds, autocompleteFilter);
  </code></pre>
  <p>In using the Places Autocomplete, I can see how the AutocompleteFilter restricts results, say by country.  What's not clear is how <code>LatLngBounds</code> is being used.  In the example code there is this for the Bounds object:</p>
  <pre class="lang-java prettyprint-override"><code>private static final LatLngBounds BOUNDS_MOUNTAIN_VIEW = 
                      new LatLngBounds(
                      new LatLng(37.398160, -122.180831), 
                      new LatLng(37.430610, -121.972090));
  </code></pre>
  <p>It says the bound is to Mountain View (a city in SF Bay Area California), yet I can still get results for other countries when filter is null.</p>
  <p>From this resource:
  <a href="https://developers.google.com/places/android-api/autocomplete" rel="nofollow noreferrer">https://developers.google.com/places/android-api/autocomplete</a></p>
  <blockquote>
  <p>Your app can get a list of predicted place names and/or addresses from the autocomplete service by calling GeoDataApi.getAutocompletePredictions(), passing the following parameters:</p>
  <p>Required: A <strong>LatLngBounds</strong> object, biasing the results to a specific area specified by latitude and longitude bounds.</p>
  <p>Optional: An <strong>AutocompleteFilter</strong> containing a set of place types, which you can use to restrict the results to one or more types of place.</p>
  </blockquote>