-
- All Implemented Interfaces:
-
org.osmdroid.tileprovider.tilesource.ITileSource
public abstract class TMSOnlineTileSourceBase extends OnlineTileSourceBase
created on 12/24/2016.
-
-
Constructor Summary
Constructors Constructor Description TMSOnlineTileSourceBase(String aName, int aZoomMinLevel, int aZoomMaxLevel, int aTileSizePixels, String aImageFilenameEnding, Array<String> aBaseUrl)Constructor
-
Method Summary
Modifier and Type Method Description StringgetTileRelativeFilenameString(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 sourceaZoomMinLevel- the minimum zoom level this tile source can provideaZoomMaxLevel- the maximum zoom level this tile source can provideaTileSizePixels- the tile size in pixels this tile source providesaImageFilenameEnding- the file name extension used when constructing the filenameaBaseUrl- 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
-
-
-
-