com.supermap.services.components.tilecache
类 TileCacheBase<T extends TileSourceInfo>
- java.lang.Object
-
- com.supermap.services.components.tilecache.TileCacheBase<T>
-
public class TileCacheBase<T extends TileSourceInfo> extends java.lang.Object
组件层缓存基类
-
-
字段概要
字段 限定符和类型 字段和说明 protected TileSource<T>
tilesource
protected T
tilesourceInfo
-
构造器概要
构造器 构造器和说明 TileCacheBase()
-
方法概要
方法 限定符和类型 方法和说明 void
clear(java.lang.String mapName, Rectangle2D bounds)
void
clearAll(java.lang.String mapName)
protected TileSource<T>
connectTileSource(T config)
void
dispose()
TilesetInfo[]
getTilesetInfos(java.lang.String mapName)
获取给定地图的所有切片信息。TilesetInfo[]
getTilesetInfos(java.lang.String mapName, TileSource<T> tilesource)
boolean
init(T config)
protected void
insureInited()
boolean
isAvailable()
boolean
isAvailable(TileSource<T> tilesource)
-
-
-
字段详细资料
-
tilesource
protected TileSource<T extends TileSourceInfo> tilesource
-
tilesourceInfo
protected T extends TileSourceInfo tilesourceInfo
-
-
方法详细资料
-
init
public boolean init(T config)
-
connectTileSource
protected TileSource<T> connectTileSource(T config)
-
insureInited
protected void insureInited()
-
dispose
public void dispose()
-
clear
public void clear(java.lang.String mapName, Rectangle2D bounds)
-
clearAll
public void clearAll(java.lang.String mapName)
-
getTilesetInfos
public TilesetInfo[] getTilesetInfos(java.lang.String mapName)
获取给定地图的所有切片信息。- 参数:
mapName
-- 返回:
-
getTilesetInfos
public TilesetInfo[] getTilesetInfos(java.lang.String mapName, TileSource<T> tilesource)
-
isAvailable
public boolean isAvailable()
-
isAvailable
public boolean isAvailable(TileSource<T> tilesource)
-
-