public static Bbox getWorldBoundsForTile ( TileConfiguration tileConfiguration , TileCode tileCode ) { double resolution = tileConfiguration . getResolution ( tileCode . getTileLevel ( ) ) ; double worldTileWidth = tileConfiguration . getTileWidth ( ) * resolution ; double worldTileHeight = tileConfiguration . getTileHeight ( ) * resolution ; double x = tileConfiguration . getTileOrigin ( ) . getX ( ) + tileCode . getX ( ) * worldTileWidth ; double y = tileConfiguration . getTileOrigin ( ) . getY ( ) + tileCode . getY ( ) * worldTileHeight ; return new Bbox ( x , y , worldTileWidth , worldTileHeight ) ; }
Given a tile for a layer what are the tiles bounds in world space .