def query_coordpath(self, coords, zoom, arround, *args, **kwargs): ret = 0 for (x, y) in mapUtils.tilepath_bulk( mapUtils.coords_to_tilepath(coords, zoom), arround): ret += self.query_tile((x, y, zoom), *args, **kwargs) return ret
def query_coordpath(self, coords, zoom, arround, *args, **kwargs): ret = 0 for (x, y) in mapUtils.tilepath_bulk(mapUtils.coords_to_tilepath(coords, zoom), arround): ret += self.query_tile((x, y, zoom), *args, **kwargs) return ret