title: Search Google Geocoding API by Neighborhood?
body: <p>Oftentimes, when users are searching businesses by specific location, they might unknowingly input a neighborhood name into the search box thinking that it's a city, but since legally it's just a neighborhood Google API will map it to the actual city center. The problem is that in large cities the two locations (neighborhood center and city center) can be quite a distance apart. For example, if I search <strong>Porter Ranch, CA</strong>, Google API returns <strong>Los Angeles, CA</strong>, but the two locations (based on latitude/longitude calculations) are about 23 miles apart, and clearly not what the user intended to see.</p>
  
  <p>Interestingly enough, Google Maps knows Porter Ranch, and if I search "Porter Ranch" it does zoom in on Porter Ranch. And also, if I search a specific address in Porter Ranch, the result is listed as say 123 Main St, Porter Ranch, CA, not as Los Angeles, CA.</p>
  
  <p>So my question is, is there a way to tell Google API to return latitude/longitude of the <strong><em>neighborhood</em></strong>, such as Porter Ranch, instead of the city? I'm hoping there's a way to do this with the API since it works in Maps.</p>
  
  <p>EDIT:</p>
  
  <p>Java example:</p>
  
  <pre><code>GeoApiContext context = new GeoApiContext().setApiKey("xyz");
  results = GeoCodingApi.geocode(context, "Porter Ranch, CA").await;
  </code></pre>