public class AssetTileDataSource extends TileDataSource
swigCMemOwn| Constructor and Description |
|---|
AssetTileDataSource(int minZoom,
int maxZoom,
java.lang.String basePath)
Constructs an AssetTileDataSource object.
|
AssetTileDataSource(long cPtr,
boolean cMemoryOwn) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
buildAssetPath(MapTile tile) |
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(AssetTileDataSource obj) |
TileData |
loadTile(MapTile tile)
Loads the specified tile.
|
static AssetTileDataSource |
swigCreatePolymorphicInstance(long cPtr,
boolean cMemoryOwn)
Creates a polymorphic instance of the given native object.
|
protected void |
swigDirectorDisconnect() |
java.lang.String |
swigGetClassName()
Returns the actual class name of this object.
|
java.lang.Object |
swigGetDirectorObject()
Returns the connected director object.
|
void |
swigReleaseOwnership() |
void |
swigTakeOwnership() |
getCPtr, getMaxZoom, getMinZoom, getProjection, notifyTilesChangedpublic AssetTileDataSource(long cPtr,
boolean cMemoryOwn)
public AssetTileDataSource(int minZoom,
int maxZoom,
java.lang.String basePath)
minZoom - The minimum zoom level supported by this data source.maxZoom - The maximum zoom level supported by this data source.basePath - The base path containing tags (for example, "t{zoom}_{x}_{y}.png").public static long getCPtr(AssetTileDataSource obj)
protected void finalize()
finalize in class TileDataSourcepublic void delete()
delete in class TileDataSourceprotected void swigDirectorDisconnect()
swigDirectorDisconnect in class TileDataSourcepublic void swigReleaseOwnership()
swigReleaseOwnership in class TileDataSourcepublic void swigTakeOwnership()
swigTakeOwnership in class TileDataSourcepublic static AssetTileDataSource swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public TileData loadTile(MapTile tile)
TileDataSourceloadTile in class TileDataSourcetile - The tile to load.protected java.lang.String buildAssetPath(MapTile tile)
public java.lang.String swigGetClassName()
swigGetClassName in class TileDataSourcepublic java.lang.Object swigGetDirectorObject()
swigGetDirectorObject in class TileDataSource