tile.getBounds().setX(tile.getBounds().getX());
tile.getBounds().setY(tile.getBounds().getY());
// Add the tile to the list and render it:
tiles.put(code, tile);
HtmlImageImpl image = new HtmlImageImpl(tile.getUrl(), (int) Math.round(tile.getBounds().getWidth()),
(int) Math.round(tile.getBounds().getHeight()), (int) Math.round(tile.getBounds().getY()),
(int) Math.round(tile.getBounds().getX()), new ImageCounter(zooming));
image.setOpacity(rasterLayer.getOpacity());
if (zooming) {
getTopContainer().add(image);
} else {
getBottomContainer().add(image);
}