
public class ThunderforestTileSource extends OnlineTileSourceBase
BitmapTileSourceBase.LowMemoryException| Modifier and Type | Field and Description |
|---|---|
static int |
CYCLE
the available map types
|
static int |
LANDSCAPE |
static int |
MOBILE_ATLAS |
static int |
NEIGHBOURHOOD |
static int |
OUTDOORS |
static int |
PIONEER |
static int |
SPINAL_MAP |
static int |
TRANSPORT |
static int |
TRANSPORT_DARK |
mCopyright, mImageFilenameEnding, mName, random| Constructor and Description |
|---|
ThunderforestTileSource(Context ctx,
int aMap)
creates a new Thunderforest tile source, loading the access token and mapid from the manifest
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTileURLString(MapTile aMapTile) |
static boolean |
haveMapId(Context aContext)
check if we have a key in the manifest for this provider.
|
static String |
mapName(int m)
return the name asociated with a map.
|
String |
retrieveMapId(Context aContext)
Reads the map id from the manifest.
|
getBaseUrlgetCopyrightNotice, getDrawable, getDrawable, getMaximumZoomLevel, getMinimumZoomLevel, getTileRelativeFilenameString, getTileSizePixels, imageFilenameEnding, name, ordinal, pathBasepublic static final int CYCLE
public static final int TRANSPORT
public static final int LANDSCAPE
public static final int OUTDOORS
public static final int TRANSPORT_DARK
public static final int SPINAL_MAP
public static final int PIONEER
public static final int MOBILE_ATLAS
public static final int NEIGHBOURHOOD
public ThunderforestTileSource(Context ctx,
int aMap)
ctx - map - choice of map to use (eg. CYCLE)public static final String mapName(int m)
public final String retrieveMapId(Context aContext)
public String getTileURLString(MapTile aMapTile)
getTileURLString in class OnlineTileSourceBasepublic static boolean haveMapId(Context aContext)
ctx -