def calculate_tile_size(self): self._tile_size = Convert.tile_size_by_zoom(self.level)
def f(x): size = Convert.tile_size_by_zoom(x, 'm') quantity = self._radius / size return abs(quantity - self.row_limit)