diff --git a/common.py b/common.py index ff15d65..4c75027 100644 --- a/common.py +++ b/common.py @@ -87,7 +87,7 @@ def get_lon(tile): # Returns precise west boundary of tile def get_west(tile): lon = ((16760832 & int(tile)) >> 14) - 180 - y = (7 & int(tile)) / (1 / get_tile_width(get_lat(tile))) + y = (7 & int(tile)) / (1 / get_tile_width(get_south(tile))) return lon + y # Returns east boundary of tile