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, isAvailable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, dispose, getTilesetInfos, isAvailable
public void cacheImage(MapParameter mapParam, ImageOutputOption outputOption, byte[] imageData)
ImageTileCache
Caches a drawing request.
cacheImage
in interface ImageTileCache<T extends TileSourceInfo>
imageData
- Binary data of tile.public ImageTileInfo getImageCache(MapParameter mapParameter, ImageOutputOption outputOption) throws MapException
ImageTileCache
Gets the picture cache for the given drawing request.
getImageCache
in interface ImageTileCache<T extends TileSourceInfo>
MapException
public Point2D getCompatibleTileOrigin(MapParameter param, ImageOutputOption outputOption)
ImageTileCache
Finds the origin of the slice that matches the current request.
getCompatibleTileOrigin
in interface ImageTileCache<T extends TileSourceInfo>