title: MapView not taking full screen
body: <p>I am using the mapview to show the positions of couple of users. I am using one the methods listed here to set the map zoom level appropriately to show all the pins. </p>
  
  <p>But the problem im having is that when the pins are all around the world the zoom levels is maxed out and I get this white space on the top and bottom of the mapview. </p>
  
  <p>Is there a way to fix this, I just want the maps grid to fill that area instead of the color. Here is the picture and xml</p>
  
  <p><img src="https://i.stack.imgur.com/zJNPj.png" alt="enter image description here"> </p>
  
  <pre><code>&lt;com.google.android.maps.MapView
      xmlns:android="http://schemas.android.com/apk/res/android"    
      android:id="@+id/mapview"
      android:layout_width="fill_parent" android:layout_height="fill_parent"
      android:background="#061a2f"
      android:clickable="true" android:apiKey=""/&gt;
  </code></pre>
  
  <p>The api key is not for the debig certificate that why the mapview only shows the grid. But you can see the white space. This changes once we zoom in. Will i need to check my zoom logic. I thought the max zoom out will still fill the available space.</p>
  
  <p>I think it has something to do with the zooming. From the google docs.</p>
  
  <blockquote>
    <p>zoomToSpan </p>
    
    <p>Attempts to adjust the zoom of the map so that the given
    span of latitude and longitude will be displayed. Because the zoom can
    only achieve discrete levels, and because the aspect ratio of the map
    may not match the ratio given, the quality of the fit may vary. The
    only thing we guarantee is that, after the zoom, at least one of the
    new latitude or the new longitude will be within a factor of 2 from
    the corresponding parameter.</p>
  </blockquote>
  
  <p>I think the aspect ratio is the problem. Is there a more reliable way to do this. Here is my java code.</p>
  
  <pre><code>for(Visitor visitor:mVisitors){
      LiveMapOverlay overlay = new LiveMapOverlay(new 
              PinDrawable(mContext,color),mMapView);
  GeoPoint point = new GeoPoint(
              (int)(Double.valueOf(visitor.visitorInfo.latitude) * 1E6)                            
              ,(int)(Double.valueOf(visitor.visitorInfo.longitude) * 1E6));
  minLatitude = minLatitude &lt; point.getLatitudeE6() ? minLatitude :   
              point.getLatitudeE6();
  maxLatitude = maxLatitude &gt; point.getLatitudeE6() ? maxLatitude : 
              point.getLatitudeE6();
  minLongitude = minLongitude&lt; point.getLongitudeE6()? minLongitude: 
              point.getLongitudeE6();
  maxLongitude = maxLongitude&gt; point.getLongitudeE6()? maxLongitude: 
              point.getLongitudeE6();
  }
  mMapView.getController().setCenter(new GeoPoint((maxLatitude + minLatitude)/2 , 
          (minLongitude + maxLongitude)/2));
  mMapView.getController().zoomToSpan(maxLatitude - minLatitude, maxLongitude - 
          minLongitude);
  </code></pre>