Package 

Class TMSOnlineTileSourceBase

    • Method Summary

      Modifier and Type Method Description
      String getTileRelativeFilenameString(long pMapTileIndex) Get a unique file path for the tile.
      • Methods inherited from class org.osmdroid.tileprovider.tilesource.OnlineTileSourceBase

        acquire, getBaseUrl, getTileSourcePolicy, getTileURLString, release
      • Methods inherited from class org.osmdroid.tileprovider.tilesource.BitmapTileSourceBase

        getCopyrightNotice, getDrawable, getDrawable, getMaximumZoomLevel, getMinimumZoomLevel, getTileSizePixels, imageFilenameEnding, name, ordinal, pathBase, toString
      • Methods inherited from class org.osmdroid.tileprovider.tilesource.ITileSource

        getDrawable, getDrawable
      • Methods inherited from class java.lang.Object

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

      • TMSOnlineTileSourceBase

        TMSOnlineTileSourceBase(String aName, int aZoomMinLevel, int aZoomMaxLevel, int aTileSizePixels, String aImageFilenameEnding, Array<String> aBaseUrl)
        Constructor
        Parameters:
        aName - a human-friendly name for this tile source
        aZoomMinLevel - the minimum zoom level this tile source can provide
        aZoomMaxLevel - the maximum zoom level this tile source can provide
        aTileSizePixels - the tile size in pixels this tile source provides
        aImageFilenameEnding - the file name extension used when constructing the filename
        aBaseUrl - the base url(s) of the tile server used when constructing the url to download the tiles
    • Method Detail

      • getTileRelativeFilenameString

         String getTileRelativeFilenameString(long pMapTileIndex)

        Get a unique file path for the tile. This file path may be used to store the tile on a filesystem and performance considerations should be taken into consideration. It can includemultiple paths. It should not begin with a leading path separator.

        Parameters:
        pMapTileIndex - the tile