com.supermap.services.components.tilecache

Interface UTFGridTileCache<T extends TileSourceInfo>

    • 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 name
        bounds - 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: