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(long pMapTileIndex) |
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.
|
acquire, getBaseUrl, getTileSourcePolicy, release
getCopyrightNotice, getDrawable, getDrawable, getMaximumZoomLevel, getMinimumZoomLevel, getTileRelativeFilenameString, getTileSizePixels, imageFilenameEnding, name, ordinal, pathBase, toString
public 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)
public static final String mapName(int m)
public final String retrieveMapId(Context aContext)
public String getTileURLString(long pMapTileIndex)
getTileURLString
in class OnlineTileSourceBase
public static boolean haveMapId(Context aContext)