public EmptyTileFactory(TileFactoryInfo info){
  super(info);
  int tileSize=info.getTileSize(info.getMinimumZoomLevel());
  emptyTile=new BufferedImage(tileSize,tileSize,BufferedImage.TYPE_INT_ARGB);
  Graphics2D g=emptyTile.createGraphics();
  g.setRenderingHint(RenderingHints.KEY_ANTIALIASING,RenderingHints.VALUE_ANTIALIAS_ON);
  g.setColor(Color.GRAY);
  g.fillRect(0,0,tileSize,tileSize);
  g.setColor(Color.WHITE);
  g.drawOval(10,10,tileSize - 20,tileSize - 20);
  g.fillOval(70,50,20,20);
  g.fillOval(tileSize - 90,50,20,20);
  g.fillOval(tileSize / 2 - 10,tileSize / 2 - 10,20,20);
  g.dispose();
}

public EmptyTileFactory ( TileFactoryInfo info ) { super ( info ) ; int tileSize = info . getTileSize ( info . getMinimumZoomLevel ( ) ) ; emptyTile = new BufferedImage ( tileSize , tileSize , BufferedImage . TYPE_INT_ARGB ) ; Graphics2D g = emptyTile . createGraphics ( ) ; g . setRenderingHint ( RenderingHints . KEY_ANTIALIASING , RenderingHints . VALUE_ANTIALIAS_ON ) ; g . setColor ( Color . GRAY ) ; g . fillRect ( 0 , 0 , tileSize , tileSize ) ; g . setColor ( Color . WHITE ) ; g . drawOval ( 10 , 10 , tileSize - 20 , tileSize - 20 ) ; g . fillOval ( 70 , 50 , 20 , 20 ) ; g . fillOval ( tileSize - 90 , 50 , 20 , 20 ) ; g . fillOval ( tileSize / 2 - 10 , tileSize / 2 - 10 , 20 , 20 ) ; g . dispose ( ) ; }
creates a new instance of emptytilefactory using the specified info .
