public abstract class TMSOnlineTileSourceBase extends OnlineTileSourceBase
BitmapTileSourceBase.LowMemoryException
mCopyright, mImageFilenameEnding, mName, random
Constructor and Description |
---|
TMSOnlineTileSourceBase(String aName,
int aZoomMinLevel,
int aZoomMaxLevel,
int aTileSizePixels,
String aImageFilenameEnding,
String[] aBaseUrl)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getTileRelativeFilenameString(MapTile tile)
Get a unique file path for the tile.
|
getBaseUrl, getTileURLString
getCopyrightNotice, getDrawable, getDrawable, getMaximumZoomLevel, getMinimumZoomLevel, getTileSizePixels, imageFilenameEnding, name, ordinal, pathBase
public TMSOnlineTileSourceBase(String aName, int aZoomMinLevel, int aZoomMaxLevel, int aTileSizePixels, String aImageFilenameEnding, String[] aBaseUrl)
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 tilespublic String getTileRelativeFilenameString(MapTile tile)
ITileSource
getTileRelativeFilenameString
in interface ITileSource
getTileRelativeFilenameString
in class BitmapTileSourceBase
tile
- the tile