public void zoom(float factor,int focusX,int focusY){
  transformer.zoom(factor,focusX,focusY);
  paintPreview((int)((1 - factor) * focusX),(int)((1 - factor) * focusY),factor);
  viewChanged(MapViewEvent.Type.ZOOM);
}

public void zoom ( float factor , int focusX , int focusY ) { transformer . zoom ( factor , focusX , focusY ) ; paintPreview ( ( int ) ( ( 1 - factor ) * focusX ) , ( int ) ( ( 1 - factor ) * focusY ) , factor ) ; viewChanged ( MapViewEvent . Type . ZOOM ) ; }
multiples the current scale with the specified factor and adjusts the view so that the objects shown at the specified view focus keep at their position .
