title: Pan first, then zoom to current location in Android
body: <p>Starting out with Android, I am using a very slightly modified version of the Google Maps API demo. The default behavior on clicking the MyLocationButton is that Android Pans to the current location. I just added a line to zoom in.</p>
  
  <pre><code>@Override
  public boolean onMyLocationButtonClick() {
      Toast.makeText(this, "MyLocation button clicked", Toast.LENGTH_SHORT).show();
      // Return false so that we don't consume the event and the default behavior still occurs
      // (the camera animates to the user's current position).
      float zoomLevel = (float) 17.0;
      mMap.moveCamera(CameraUpdateFactory.zoomTo(zoomLevel));
      return false;
  }
  </code></pre>
  
  <p>This works, the app zooms to the indicated level then pans to the location. But I would prefer to Pan <em>first</em>, then Zoom. As I see it, I can accomplish this by either </p>
  
  <ol>
  <li>Accessing the current location from within the
  onMyLocationButtonClick anonymous function, or </li>
  <li>Running the code <em>after</em> the default behavior occurs.</li>
  </ol>
  
  <p>Sadly, I don't know how to do either of those things.</p>