コード例 #1
0
ファイル: test_cache.py プロジェクト: yili9111/mapproxy
 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
ファイル: test_cache.py プロジェクト: atrawog/mapproxy
 def load_tile(self, tile, with_metadata=False):
     self.loaded_tiles.add(tile.coord)
     return FileCache.load_tile(self, tile, with_metadata)
コード例 #3
0
ファイル: test_cache.py プロジェクト: gxx0324/mapproxy
 def load_tile(self, tile, with_metadata=False):
     self.loaded_tiles.add(tile.coord)
     return FileCache.load_tile(self, tile, with_metadata)