Пример #1
0
 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
Пример #2
0
 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