title: How to calculate zoom level for Android Geocoder results
body: <p>I'm using Android's Geocoder to allow searching for a location in my map-based app.  The geocoding works well, and the app successfully recenters the MapView on the geocoding results.  The problem is that I don't know what zoom level to use when moving to the new location.  The <code>location_query</code> parameter could be a street or it could be a country -- how do I know how far to zoom in to display the resulting location?  That is, what do I replace <code>???</code> with?</p>
  
  <pre><code>public void goToPlace(String location_query) {
  
      List&lt;Address&gt; addresses;
      Geocoder gc = new Geocoder(_ctx);
  
      addresses = gc.getFromLocationName(location_query, 1);
      if (addresses != null) {
          Address a = addresses.get(0);
          int lat = (int) (a.getLatitude() * 1E6);
          int lon = (int) (a.getLongitude() * 1E6);
          mapController.animateTo(new GeoPoint(lat, lon));
          mapController.setZoom(???);
      }
  }
  </code></pre>