private TileCursor retrieveTileResults ( BoundingBox projectedRequestBoundingBox , TileMatrix tileMatrix ) { TileCursor tileResults = null ; if ( tileMatrix != null ) { // Get the tile grid TileGrid tileGrid = TileBoundingBoxUtils . getTileGrid ( tileSetBoundingBox , tileMatrix . getMatrixWidth ( ) , tileMatrix . getMatrixHeight ( ) , projectedRequestBoundingBox ) ; // Query for matching tiles in the tile grid tileResults = tileDao . queryByTileGrid ( tileGrid , tileMatrix . getZoomLevel ( ) ) ; } return tileResults ; }
Get the tile row results of tiles needed to draw the requested bounding box tile