public class AssetTileDataSource extends TileDataSource
swigCMemOwn
构造器和说明 |
---|
AssetTileDataSource(int minZoom,
int maxZoom,
java.lang.String basePath)
Constructs an AssetTileDataSource object.
|
AssetTileDataSource(long cPtr,
boolean cMemoryOwn) |
限定符和类型 | 方法和说明 |
---|---|
protected java.lang.String |
buildAssetPath(java.lang.String basePath,
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, getDataBounds, getMaxZoom, getMinZoom, getProjection, getTileSize, isIntervalLevel, notifyTilesChanged, setDataBounds, setIntervalLevel, setTileSize
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
在类中 TileDataSource
public void delete()
delete
在类中 TileDataSource
protected void swigDirectorDisconnect()
swigDirectorDisconnect
在类中 TileDataSource
public void swigReleaseOwnership()
swigReleaseOwnership
在类中 TileDataSource
public void swigTakeOwnership()
swigTakeOwnership
在类中 TileDataSource
public static AssetTileDataSource swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
cPtr
- The native pointer of the instance.cMemoryOwn
- The ownership flag.public TileData loadTile(MapTile tile)
TileDataSource
loadTile
在类中 TileDataSource
tile
- The tile to load.protected java.lang.String buildAssetPath(java.lang.String basePath, MapTile tile)
public java.lang.String swigGetClassName()
swigGetClassName
在类中 TileDataSource
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
在类中 TileDataSource