This class is able to request maps that are larger than one tile and
split the large map into multiple tiles. The meta_size
defines how many tiles should be generated per request.
|
|
__init__(self,
grid,
clients,
format=None,
meta_buffer=0,
meta_size=(2, 2))
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
id(self)
Returns a unique but constant id of this TileSource used for locking. |
source code
|
|
|
|
|
|
list of Tiles
|
create_tile(self,
tile,
tile_map)
Retrieve the metatile that contains the requested tile and save
all tiles. |
source code
|
|
|
|
|
|
|
| _split_meta_tile(self,
meta_tile,
tiles,
tile_map) |
source code
|
|
|
|
|
|
Inherited from core.cache.TileSource:
tile_lock
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__str__
|