Package 

Class MapTileModuleProviderBase

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public abstract class MapTileModuleProviderBase.TileLoader

      Load the requested tile. An abstract internal class whose objects are used by worker threadsto acquire tiles from servers. It processes tiles from the 'pending' set to the 'working' setas they become available. The key unimplemented method is 'loadTile'.

    • Constructor Summary

      Constructors 
      Constructor Description
      MapTileModuleProviderBase(int pThreadPoolSize, int pPendingQueueSize)
    • Constructor Detail

      • MapTileModuleProviderBase

        MapTileModuleProviderBase(int pThreadPoolSize, int pPendingQueueSize)
    • Method Detail

      • getUsesDataConnection

         abstract boolean getUsesDataConnection()

        Returns true if implementation uses a data connection, false otherwise. This value is used todetermine if this provider should be skipped if there is no data connection.

      • getMinimumZoomLevel

         abstract int getMinimumZoomLevel()

        Gets the minimum zoom level this tile provider can provide

      • getMaximumZoomLevel

         abstract int getMaximumZoomLevel()

        Gets the maximum zoom level this tile provider can provide

      • setTileSource

         abstract void setTileSource(ITileSource tileSource)

        Sets the tile source for this tile provider.

        Parameters:
        tileSource - the tile source
      • detach

         void detach()

        Detach, we're shutting down - Stops all workers.