(tx, ty, zoom)
return (tx * 256 * res - 180, ty * 256 * res - 90, (tx + 1) * 256 * res - 180, (ty + 1) * 256 * res - 90)
Returns bounds of the given tile
Returns bounds of the given tile
Returns bounds of the given tile
def TileBounds(tx, ty, zoom):
        "Returns bounds of the given tile"
        res = 180 / 256.0 / 2 ** zoom
        return (tx * 256 * res - 180, ty * 256 * res - 90, (tx + 1) * 256 * res - 180, (ty + 1) * 256 * res - 90)
def TileBounds ( tx , ty , zoom ) : res = 180 / 256.0 / 2 ** zoom return ( tx * 256 * res - 180 , ty * 256 * res - 90 , ( tx + 1 ) * 256 * res - 180 , ( ty + 1 ) * 256 * res - 90 )