private long tileYToTMS(final long tileY, final byte zoomLevel) {
        return (long) (zoomLevelToScale(zoomLevel) - tileY - 1);
    }
Converts a tile Y number at a certain zoom level to TMS notation.

@param tileY     the tile Y number that should be converted.
@param zoomLevel the zoom level at which the number should be converted.
@return the TMS value of the tile Y number.
main/src/main/java/cgeo/geocaching/unifiedmap/layers/mbtiles/MBTilesFile.java