Пример #1
0
 def load_tile(self, tile, with_metadata=False):
     if tile.source:
         # Do not record tiles with source as "loaded" as FileCache will
         # return tile without checking/loading from filesystem.
         return True
     self.loaded_tiles.add(tile.coord)
     return FileCache.load_tile(self, tile, with_metadata)
Пример #2
0
 def load_tile(self, tile, with_metadata=False):
     self.loaded_tiles.add(tile.coord)
     return FileCache.load_tile(self, tile, with_metadata)
Пример #3
0
 def load_tile(self, tile, with_metadata=False):
     self.loaded_tiles.add(tile.coord)
     return FileCache.load_tile(self, tile, with_metadata)