com.supermap.services.components.tilecache
Interface UTFGridTileCache<T extends TileSourceInfo>
-
- All Known Implementing Classes:
- DefaultUTFGridTileCache
public interface UTFGridTileCache<T extends TileSourceInfo>
-
-
Method Summary
Methods Modifier and Type Method and Description voidcacheUTFGrid(UTFGridParameter utfGridParameter, UTFGridResult data)Caches a UTFGrid tile request.voidclear(java.lang.String mapName, Rectangle2D bounds)Clears the specified map, specifies the range of the tile cachevoiddispose()Releases cache-related resourcesUTFGridTileInfogetUTFGridCache(UTFGridParameter utfGridParameter)Gets the UTFGrid cache for the given drawing request.TilesetInfo[]getUTFGridTilesetInfos(java.lang.String mapName)Gets all the UTFGrid tile information for a given map.
-
-
-
Method Detail
-
clear
void clear(java.lang.String mapName, Rectangle2D bounds)Clears the specified map, specifies the range of the tile cache
- Parameters:
mapName- Map namebounds- Range, if empty, clears all
-
dispose
void dispose()
Releases cache-related resources
-
cacheUTFGrid
void cacheUTFGrid(UTFGridParameter utfGridParameter, UTFGridResult data)
Caches a UTFGrid tile request.
- Parameters:
utfGridParameter-tileData- UTFGrid Binary data of tile.
-
getUTFGridCache
UTFGridTileInfo getUTFGridCache(UTFGridParameter utfGridParameter)
Gets the UTFGrid cache for the given drawing request.
- Parameters:
utfGridParameter-- Returns:
- Tile infomation
-
getUTFGridTilesetInfos
TilesetInfo[] getUTFGridTilesetInfos(java.lang.String mapName)
Gets all the UTFGrid tile information for a given map.- Parameters:
mapName-- Returns:
-
-