public void moveTo(final int lonCenter,final int latCenter){
  double mLatCenter=GeoMath.latE7ToMercator(latCenter);
  double mTop=GeoMath.latE7ToMercator(top);
  int newBottom=GeoMath.mercatorToLatE7(mLatCenter - (mTop - bottomMercator) / 2);
  try {
    translate((lonCenter - left - (int)(width / 2L)),newBottom - bottom);
  }
 catch (  OsmException e) {
    e.printStackTrace();
  }
}

public void moveTo ( final int lonCenter , final int latCenter ) { double mLatCenter = GeoMath . latE7ToMercator ( latCenter ) ; double mTop = GeoMath . latE7ToMercator ( top ) ; int newBottom = GeoMath . mercatorToLatE7 ( mLatCenter - ( mTop - bottomMercator ) / 2 ) ; try { translate ( ( lonCenter - left - ( int ) ( width / 2L ) ) , newBottom - bottom ) ; } catch ( OsmException e ) { e . printStackTrace ( ) ; } }
performs a translation so the center of this bounding box will be at ( loncenter | latcenter ) .
