code: protected Bbox calcBoundsForTileCode(TileCode tileCode) {
  		// Calculate tile width and height for tileLevel=tileCode.getTileLevel()
  		double div = Math.pow(2, tileCode.getTileLevel());
  		double scale = layer.getMapModel().getMapView().getCurrentScale();
  		double tileWidth = Math.ceil((scale * layerBounds.getWidth()) / div) / scale;
  		double tileHeight = Math.ceil((scale * layerBounds.getHeight()) / div) / scale;
  
  		// Now calculate indices, and return bbox:
  		double x = layerBounds.getX() + tileCode.getX() * tileWidth;
  		double y = layerBounds.getY() + tileCode.getY() * tileHeight;
  		return new Bbox(x, y, tileWidth, tileHeight);
  	}
docs: Calculate the exact bounding box for a tile, given it's tile-code.
  
  @param tileCode
  tile code
  @return bbox for tile