Package 

Class MapTileAssetsProvider


  • 
    public class MapTileAssetsProvider
    extends MapTileFileStorageProviderBase
                        

    Implements a file system cache and provides cached tiles from Assets. This functions as a tile provider by serving cached tiles for the supplied tile source.

    tiles should be put into apk's assets directory just like following example:

    assets/Mapnik/11/1316/806.png

    • 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

         MapTileAssetsProvider.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