public class MBTilesTileDataSource extends TileDataSource
swigCMemOwn
Constructor and Description |
---|
MBTilesTileDataSource(int minZoom,
int maxZoom,
java.lang.String path)
Constructs a MBTilesTileDataSource object.
|
MBTilesTileDataSource(int minZoom,
int maxZoom,
java.lang.String path,
MBTilesScheme scheme)
Constructs a MBTilesTileDataSource object with specified tile scheme.
|
MBTilesTileDataSource(long cPtr,
boolean cMemoryOwn) |
MBTilesTileDataSource(java.lang.String path)
Constructs a MBTilesTileDataSource object.
|
Modifier and Type | Method and Description |
---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(MBTilesTileDataSource obj) |
MapBounds |
getDataExtent()
Returns the extent of this data source.
|
StringMap |
getMetaData()
Get data source metadata information.
Possible parameters can be found in MBTiles specification. |
TileData |
loadTile(MapTile mapTile)
Loads the specified tile.
|
static MBTilesTileDataSource |
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 MBTilesTileDataSource(long cPtr, boolean cMemoryOwn)
public MBTilesTileDataSource(java.lang.String path)
path
- The path to the local Sqlite database file.public MBTilesTileDataSource(int minZoom, int maxZoom, java.lang.String path)
minZoom
- The minimum zoom level supported by this data source.maxZoom
- The maximum zoom level supported by this data source.path
- The path to the local Sqlite database file.public MBTilesTileDataSource(int minZoom, int maxZoom, java.lang.String path, MBTilesScheme scheme)
minZoom
- The minimum zoom level supported by this data source.maxZoom
- The maximum zoom level supported by this data source.path
- The path to the local Sqlite database file.scheme
- Tile scheme to use.public static long getCPtr(MBTilesTileDataSource 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 MBTilesTileDataSource swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public StringMap getMetaData()
public MapBounds getDataExtent()
public TileData loadTile(MapTile mapTile)
TileDataSource
loadTile
in class TileDataSource
mapTile
- The tile to load.public java.lang.String swigGetClassName()
swigGetClassName
in class TileDataSource
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
in class TileDataSource