Package 

Class MapTileSqlCacheProvider

    • Method Summary

      Modifier and Type Method Description
      boolean getUsesDataConnection() Returns true if implementation uses a data connection, false otherwise.
      MapTileSqlCacheProvider.TileLoader getTileLoader() It is expected that the implementation will construct an internal member which internallyimplements a TileLoader.
      int getMinimumZoomLevel() Gets the minimum zoom level this tile provider can provide
      int getMaximumZoomLevel() Gets the maximum zoom level this tile provider can provide
      void setTileSource(ITileSource pTileSource) Sets the tile source for this tile provider.
      void detach() Detach, we're shutting down - Stops all workers.
      boolean hasTile(long pMapTileIndex) returns true if the given tile for the current map source exists in the cache db
      • Methods inherited from class org.osmdroid.tileprovider.modules.MapTileModuleProviderBase

        isTileReachable, loadMapTileAsync, setTileSource
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapTileSqlCacheProvider

        MapTileSqlCacheProvider(IRegisterReceiver pRegisterReceiver, ITileSource pTileSource)
        The tiles may be found on several media.
    • Method Detail

      • getUsesDataConnection

         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.

      • getTileLoader

         MapTileSqlCacheProvider.TileLoader getTileLoader()

        It is expected that the implementation will construct an internal member which internallyimplements a TileLoader. This method is expected to return a that internal member tomethods of the parent methods.

      • getMinimumZoomLevel

         int getMinimumZoomLevel()

        Gets the minimum zoom level this tile provider can provide

      • getMaximumZoomLevel

         int getMaximumZoomLevel()

        Gets the maximum zoom level this tile provider can provide

      • detach

         void detach()

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

      • hasTile

         boolean hasTile(long pMapTileIndex)

        returns true if the given tile for the current map source exists in the cache db