geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTileGenerator.java
@Override
    public BoundingBox getBoundingBox(int zoom) {

        ProjectionTransform projectionToWebMercator = projection
                .getTransformation(ProjectionConstants.EPSG_WEB_MERCATOR);
        BoundingBox webMercatorBoundingBox = boundingBox
                .transform(projectionToWebMercator);

        TileGrid tileGrid = TileBoundingBoxUtils.getTileGrid(webMercatorBoundingBox, zoom);
        BoundingBox tileBoundingBox = TileBoundingBoxUtils.getWebMercatorBoundingBox(
                tileGrid.getMinX(), tileGrid.getMinY(), zoom);

        BoundingBox expandedBoundingBox = featureTiles.expandBoundingBox(webMercatorBoundingBox, tileBoundingBox);

        BoundingBox zoomBoundingBox = expandedBoundingBox.transform(projectionToWebMercator.getInverseTransformation());

        return zoomBoundingBox;
    }
@Override
    public BoundingBox getBoundingBox(int zoom) {

        ProjectionTransform projectionToWebMercator = projection
                .getTransformation(ProjectionConstants.EPSG_WEB_MERCATOR);
        BoundingBox webMercatorBoundingBox = boundingBox
                .transform(projectionToWebMercator);

        TileGrid tileGrid = TileBoundingBoxUtils.getTileGrid(webMercatorBoundingBox, zoom);
        BoundingBox tileBoundingBox = TileBoundingBoxUtils.getWebMercatorBoundingBox(
                tileGrid.getMinX(), tileGrid.getMinY(), zoom);

        BoundingBox expandedBoundingBox = featureTiles.expandBoundingBox(webMercatorBoundingBox, tileBoundingBox);

        BoundingBox zoomBoundingBox = expandedBoundingBox.transform(projectionToWebMercator.getInverseTransformation());

        return zoomBoundingBox;
    }
@ Override public BoundingBox getBoundingBox ( int zoom ) { ProjectionTransform projectionToWebMercator = projection . getTransformation ( ProjectionConstants . EPSG_WEB_MERCATOR ) ; BoundingBox webMercatorBoundingBox = boundingBox . transform ( projectionToWebMercator ) ; TileGrid tileGrid = TileBoundingBoxUtils . getTileGrid ( webMercatorBoundingBox , zoom ) ; BoundingBox tileBoundingBox = TileBoundingBoxUtils . getWebMercatorBoundingBox ( tileGrid . getMinX ( ) , tileGrid . getMinY ( ) , zoom ) ; BoundingBox expandedBoundingBox = featureTiles . expandBoundingBox ( webMercatorBoundingBox , tileBoundingBox ) ; BoundingBox zoomBoundingBox = expandedBoundingBox . transform ( projectionToWebMercator . getInverseTransformation ( ) ) ; return zoomBoundingBox ; }
{@inheritDoc}
{