コード例 #1
0
 def get_all(self):
     for tilecoord, data in self.tiles.iteritems():
         tile = Tile(tilecoord, data=data)
         if self.content_type is not None:
             tile.content_type = self.content_type
         yield tile
コード例 #2
0
ファイル: tilelite.py プロジェクト: sw897/tilebox
 def get_all(self):
     for tilecoord, typeindex, data in self.tiles.iteritems():
         tile = Tile(tilecoord, data=data)
         tileformat = TileFormat.from_type_index(typeindex)
         tile.content_type = tileformat.content_type
         yield tile
コード例 #3
0
ファイル: tilelite.py プロジェクト: sw897/tilebox
 def get_all(self):
     for tilecoord, typeindex, data in self.tiles.iteritems():
         tile = Tile(tilecoord, data=data)
         tileformat = TileFormat.from_type_index(typeindex)
         tile.content_type = tileformat.content_type
         yield tile
コード例 #4
0
ファイル: mbtiles.py プロジェクト: sw897/tilebox
 def get_all(self):
     for tilecoord, data in self.tiles.iteritems():
         tile = Tile(tilecoord, data=data)
         if self.content_type is not None:
             tile.content_type = self.content_type
         yield tile