public class DefaultVectorTileCache<T extends TileSourceInfo> extends TileCacheBase<T> implements VectorTileCache<T>
tilesource
Constructor and Description |
---|
DefaultVectorTileCache() |
Modifier and Type | Method and Description |
---|---|
void |
cacheVector(VectorTileParameter vectorTileParameter, VectorTileData tileData)
Caches vector request result.
|
void |
clear(java.lang.String mapName, Rectangle2D bounds)
Clears the specified map, specifies the range of the tile cache
|
void |
dispose()
Releases cache-related resources
|
VectorTileInfo |
getVectorCache(VectorTileParameter vectorTileParameter)
Gets the vector cache for the given request.
|
TilesetInfo[] |
getVectorTilesetInfos(java.lang.String mapName)
Gets all the tile information for a given map.
|
connectTileSource, getTilesetInfos, init, insureInited, isAvailable
public void cacheVector(VectorTileParameter vectorTileParameter, VectorTileData tileData)
VectorTileCache
Caches vector request result.
cacheVector
in interface VectorTileCache<T extends TileSourceInfo>
tileData
- Vector Tilepublic VectorTileInfo getVectorCache(VectorTileParameter vectorTileParameter)
VectorTileCache
Gets the vector cache for the given request.
getVectorCache
in interface VectorTileCache<T extends TileSourceInfo>
public void clear(java.lang.String mapName, Rectangle2D bounds)
VectorTileCache
Clears the specified map, specifies the range of the tile cache
clear
in interface VectorTileCache<T extends TileSourceInfo>
clear
in class TileCacheBase<T extends TileSourceInfo>
mapName
- Map namebounds
- Range, if empty, clears allpublic void dispose()
VectorTileCache
Releases cache-related resources
dispose
in interface VectorTileCache<T extends TileSourceInfo>
dispose
in class TileCacheBase<T extends TileSourceInfo>
public TilesetInfo[] getVectorTilesetInfos(java.lang.String mapName)
VectorTileCache
getVectorTilesetInfos
in interface VectorTileCache<T extends TileSourceInfo>