com.supermap.services.components.tilecache
类 DefaultImageTileCache<T extends TileSourceInfo>
- java.lang.Object
 - 
- com.supermap.services.components.tilecache.TileCacheBase<T>
 - 
- com.supermap.services.components.tilecache.DefaultImageTileCache<T>
 
 
 
- 
- 所有已实现的接口:
 - ImageTileCache<T>
 
public class DefaultImageTileCache<T extends TileSourceInfo> extends TileCacheBase<T> implements ImageTileCache<T>
 
- 
- 
字段概要
- 
从类继承的字段 com.supermap.services.components.tilecache.TileCacheBase
tilesource, tilesourceInfo 
 - 
 
- 
构造器概要
构造器 构造器和说明 DefaultImageTileCache() 
- 
方法概要
方法 限定符和类型 方法和说明 protected voidappendResolution(ImageTileset tileset, MapParameter mapParameter)voidcacheImage(MapParameter mapParam, ImageOutputOption outputOption, byte[] imageData)缓存一个出图请求。Point2DgetCompatibleTileOrigin(MapParameter param, ImageOutputOption outputOption)找到符合当前请求的切片原点。ImageTileInfogetImageCache(MapParameter mapParameter, ImageOutputOption outputOption)获取给定出图请求的图片缓存。- 
从类继承的方法 com.supermap.services.components.tilecache.TileCacheBase
clear, clearAll, connectTileSource, dispose, getTilesetInfos, getTilesetInfos, init, insureInited, isAvailable, isAvailable 
- 
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
从接口继承的方法 com.supermap.services.components.tilecache.ImageTileCache
clear, clearAll, dispose, getTilesetInfos, isAvailable 
 - 
 
 - 
 
- 
- 
方法详细资料
- 
cacheImage
public void cacheImage(MapParameter mapParam, ImageOutputOption outputOption, byte[] imageData)
从接口复制的说明:ImageTileCache缓存一个出图请求。
- 指定者:
 cacheImage在接口中ImageTileCache<T extends TileSourceInfo>imageData- 切片的二进制数据
 
- 
getImageCache
public ImageTileInfo getImageCache(MapParameter mapParameter, ImageOutputOption outputOption) throws MapException
从接口复制的说明:ImageTileCache获取给定出图请求的图片缓存。
- 指定者:
 getImageCache在接口中ImageTileCache<T extends TileSourceInfo>- 返回:
 - 瓦片信息
 - 抛出:
 MapException
 
- 
getCompatibleTileOrigin
public Point2D getCompatibleTileOrigin(MapParameter param, ImageOutputOption outputOption)
从接口复制的说明:ImageTileCache找到符合当前请求的切片原点。
- 指定者:
 getCompatibleTileOrigin在接口中ImageTileCache<T extends TileSourceInfo>- 返回:
 
 
- 
appendResolution
protected void appendResolution(ImageTileset tileset, MapParameter mapParameter)
 
 - 
 
 -