public class DefaultImageTileCache<T extends TileSourceInfo> extends TileCacheBase<T> implements ImageTileCache<T>
tilesource| Constructor and Description |
|---|
DefaultImageTileCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
cacheImage(MapParameter mapParam, ImageOutputOption outputOption, byte[] imageData)
Caches a drawing request.
|
Point2D |
getCompatibleTileOrigin(MapParameter param, ImageOutputOption outputOption)
Finds the origin of the slice that matches the current request.
|
ImageTileInfo |
getImageCache(MapParameter mapParameter, ImageOutputOption outputOption)
Gets the picture cache for the given drawing request.
|
clear, connectTileSource, dispose, getTilesetInfos, init, insureInited, isAvailableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, dispose, getTilesetInfos, isAvailablepublic void cacheImage(MapParameter mapParam, ImageOutputOption outputOption, byte[] imageData)
ImageTileCacheCaches a drawing request.
cacheImage in interface ImageTileCache<T extends TileSourceInfo>imageData - Binary data of tile.public ImageTileInfo getImageCache(MapParameter mapParameter, ImageOutputOption outputOption) throws MapException
ImageTileCacheGets the picture cache for the given drawing request.
getImageCache in interface ImageTileCache<T extends TileSourceInfo>MapExceptionpublic Point2D getCompatibleTileOrigin(MapParameter param, ImageOutputOption outputOption)
ImageTileCacheFinds the origin of the slice that matches the current request.
getCompatibleTileOrigin in interface ImageTileCache<T extends TileSourceInfo>