com.supermap.services.util.cache

Interface SimpleCacheHelper

    • Method Detail

      • getImageRelativeURL

        java.lang.String getImageRelativeURL(MapParameter mapParam,
                                           ImageOutputOption outputOption)
        

        Set the tile relative path based on map parameters and map output settings.

        Parameters:
        mapParam - map parameters
        outputOption - output options
        Returns:
        the tile relative path.
      • getImageFullURL

        java.lang.String getImageFullURL(MapParameter mapParam,
                                       ImageOutputOption outputOption)
        

        Get the tile full path based on map parameters and map output settings.

        Parameters:
        mapParam - map parameters
        outputOption - output options
        Returns:
      • getImageIndexs

        int[] getImageIndexs(MapParameter mapParam)
        

        Get tile index value

        Parameters:
        mapParam - map parameters
        Returns:
      • clearCache

        void clearCache(java.lang.String mapName,
                      Rectangle2D bounds)
        

        Clear the cache in specific area

        Parameters:
        mapName - the map name
        bounds - the specific range