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, notifyTilesChanged
public 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 TileDataSource
public void delete()
delete
in class TileDataSource
protected void swigDirectorDisconnect()
swigDirectorDisconnect
in class TileDataSource
public void swigReleaseOwnership()
swigReleaseOwnership
in class TileDataSource
public void swigTakeOwnership()
swigTakeOwnership
in class TileDataSource
public static AssetTileDataSource swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public TileData loadTile(MapTile tile)
TileDataSource
loadTile
in class TileDataSource
tile
- The tile to load.protected java.lang.String buildAssetPath(MapTile tile)
public java.lang.String swigGetClassName()
swigGetClassName
in class TileDataSource
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
in class TileDataSource