RMTileCache

Summary
RMTileCache
Functions
cachedImageReturns the cached image if it exists.
removeAllCachedImagesremoves all tile images from the memory and disk subcaches
addTileAdd tile to cache
addCacheAdd another cache to the chain

Functions

cachedImage

-(RMTileImage*) cachedImage:(RMTile)tile

Returns the cached image if it exists. nil otherwise.

Parameters

tile{<RMTile>}

removeAllCachedImages

-(void)removeAllCachedImages

removes all tile images from the memory and disk subcaches

addTile

-(void)addTile: (RMTile)tile WithImage: (RMTileImage*)image

Add tile to cache

Parameters

image{RMTileImage}

addCache

-(void)addCache: (id<RMTileCache>)cache

Add another cache to the chain

Parameters

cache{RMTileCache}
-(RMTileImage*) cachedImage:(RMTile)tile
Returns the cached image if it exists.
-(void)removeAllCachedImages
removes all tile images from the memory and disk subcaches
-(void)addTile: (RMTile)tile WithImage: (RMTileImage*)image
Add tile to cache
-(void)addCache: (id<RMTileCache>)cache
Add another cache to the chain
@interface RMTileImage : NSObject
Close