com.supermap.services.components.tilecache

Interface ImageTileCache<T extends TileSourceInfo>

    • Method Detail

      • getTilesetInfos

        TilesetInfo[] getTilesetInfos(java.lang.String mapName)
        
        Gets all the tile information for a given map.
        Parameters:
        mapName -
        Returns:
      • clear

        void clear(java.lang.String mapName,
                 Rectangle2D bounds)
                   throws MapException
        

        Clears the specified map, specifies the range of the tile cache

        Parameters:
        mapName - Map name
        bounds - Range, if empty, clears all
        Throws:
        MapException
      • dispose

        void dispose()
        

        Releases cache-related resources

      • getCompatibleTileOrigin

        Point2D getCompatibleTileOrigin(MapParameter param,
                                      ImageOutputOption outputOption)
        

        Finds the origin of the slice that matches the current request.

        Parameters:
        param -
        outputOption -
        Returns:
        Since:
        8.1.0
      • isAvailable

        boolean isAvailable()
        

        Returns whether the cache is valid

        Returns:
        Since:
        8.1.0