com.supermap.services.components.tilecache
Interface VectorTileCache<T extends TileSourceInfo>
-
- All Known Implementing Classes:
- DefaultVectorTileCache
public interface VectorTileCache<T extends TileSourceInfo>
-
-
Method Summary
Methods Modifier and Type Method and Description voidcacheVector(VectorTileParameter vectorTileParameter, VectorTileData vectorTile)Caches vector request result.voidclear(java.lang.String mapName, Rectangle2D bounds)Clears the specified map, specifies the range of the tile cachevoiddispose()Releases cache-related resourcesVectorTileInfogetVectorCache(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.
-
-
-
Method Detail
-
clear
void clear(java.lang.String mapName, Rectangle2D bounds) throws MapExceptionClears the specified map, specifies the range of the tile cache
- Parameters:
mapName- Map namebounds- Range, if empty, clears all- Throws:
MapException
-
dispose
void dispose()
Releases cache-related resources
-
cacheVector
void cacheVector(VectorTileParameter vectorTileParameter, VectorTileData vectorTile)
Caches vector request result.
- Parameters:
vectorTileParameter-vectorTile- Vector Tile
-
getVectorCache
VectorTileInfo getVectorCache(VectorTileParameter vectorTileParameter)
Gets the vector cache for the given request.
- Parameters:
vectorTileParameter-- Returns:
- Tile dta
-
getVectorTilesetInfos
TilesetInfo[] getVectorTilesetInfos(java.lang.String mapName)
Gets all the tile information for a given map.- Parameters:
mapName-- Returns:
-
-