Package 

Class OnlineTileSourceBase

    • Method Summary

      Modifier and Type Method Description
      abstract String getTileURLString(long pMapTileIndex)
      String getBaseUrl() Get the base url, which will be a random one if there are more than one.
      void acquire()
      void release()
      TileSourcePolicy getTileSourcePolicy()
      • Methods inherited from class org.osmdroid.tileprovider.tilesource.BitmapTileSourceBase

        getCopyrightNotice, getDrawable, getDrawable, getMaximumZoomLevel, getMinimumZoomLevel, getTileRelativeFilenameString, 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

      • OnlineTileSourceBase

        OnlineTileSourceBase(String aName, int aZoomMinLevel, int aZoomMaxLevel, int aTileSizePixels, String aImageFilenameEnding, Array<String> aBaseUrl)
      • OnlineTileSourceBase

        OnlineTileSourceBase(String aName, int aZoomMinLevel, int aZoomMaxLevel, int aTileSizePixels, String aImageFilenameEnding, Array<String> aBaseUrl, String copyyright)
      • OnlineTileSourceBase

        OnlineTileSourceBase(String pName, int pZoomMinLevel, int pZoomMaxLevel, int pTileSizePixels, String pImageFilenameEnding, Array<String> pBaseUrl, String pCopyright, TileSourcePolicy pTileSourcePolicy)
        Parameters:
        pName - a human-friendly name for this tile source
        pZoomMinLevel - the minimum zoom level this tile source can provide
        pZoomMaxLevel - the maximum zoom level this tile source can provide
        pTileSizePixels - the tile size in pixels this tile source provides
        pImageFilenameEnding - the file name extension used when constructing the filename
        pBaseUrl - the base url(s) of the tile server used when constructing the url to download the tiles
        pCopyright - the source copyright
        pTileSourcePolicy - tile source policy