private void initMapLayer(){
  float zoom=getInitZoom(mapView.getWidth(),mapView.getHeight(),image.getWidth(),image.getHeight());
  Log.i(TAG,Float.toString(zoom));
  mapView.setCurrentZoom(zoom,0,0);
  float width=mapView.getWidth() - zoom * image.getWidth();
  float height=mapView.getHeight() - zoom * image.getHeight();
  mapView.translate(width / 2,height / 2);
}

private void initMapLayer ( ) { float zoom = getInitZoom ( mapView . getWidth ( ) , mapView . getHeight ( ) , image . getWidth ( ) , image . getHeight ( ) ) ; Log . i ( TAG , Float . toString ( zoom ) ) ; mapView . setCurrentZoom ( zoom , 0 , 0 ) ; float width = mapView . getWidth ( ) - zoom * image . getWidth ( ) ; float height = mapView . getHeight ( ) - zoom * image . getHeight ( ) ; mapView . translate ( width / 2 , height / 2 ) ; }
init map image layer
