geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileDao.java
public Long getClosestZoomLevel(double length) {

        Long zoomLevel = TileDaoUtils.getClosestZoomLevel(widths, heights,
                tileMatrices, length);
        return zoomLevel;
    }
public Long getClosestZoomLevel(double length) {

        Long zoomLevel = TileDaoUtils.getClosestZoomLevel(widths, heights,
                tileMatrices, length);
        return zoomLevel;
    }
Get the closest zoom level for the provided width and height in the
default units

@param length in default units
@return zoom level
@since 1.3.1