public class CustomOfflineVectorTileDataSource extends TileDataSource
swigCMemOwn
构造器和说明 |
---|
CustomOfflineVectorTileDataSource(int minZoom,
int maxZoom,
java.lang.String path)
Constructs a MBTilesTileDataSource object.
|
CustomOfflineVectorTileDataSource(int minZoom,
int maxZoom,
java.lang.String path,
Projection projection)
Constructs a MBTilesTileDataSource object.
|
CustomOfflineVectorTileDataSource(long cPtr,
boolean cMemoryOwn) |
CustomOfflineVectorTileDataSource(java.lang.String path)
Constructs a MBTilesTileDataSource object.
|
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(CustomOfflineVectorTileDataSource obj) |
MapBounds |
getDataExtent()
Returns the extent of this data source.
|
StringMap |
getMetaData()
Get data source metadata information.
|
TileData |
loadTile(MapTile mapTile)
Loads the specified tile.
|
static CustomOfflineVectorTileDataSource |
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 CustomOfflineVectorTileDataSource(long cPtr, boolean cMemoryOwn)
public CustomOfflineVectorTileDataSource(java.lang.String path) throws java.io.IOException
path
- The path to the local Sqlite database file.java.lang.Exception
- If the the file could not be opened.java.io.IOException
public CustomOfflineVectorTileDataSource(int minZoom, int maxZoom, java.lang.String path) throws java.io.IOException
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.java.lang.Exception
- If the the file could not be opened.java.io.IOException
public CustomOfflineVectorTileDataSource(int minZoom, int maxZoom, java.lang.String path, Projection projection) throws java.io.IOException
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.java.lang.Exception
- If the the file could not be opened.java.io.IOException
public static long getCPtr(CustomOfflineVectorTileDataSource 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 CustomOfflineVectorTileDataSource swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
cPtr
- The native pointer of the instance.cMemoryOwn
- The ownership flag.public StringMap getMetaData()
public MapBounds getDataExtent()
public TileData loadTile(MapTile mapTile)
TileDataSource
loadTile
在类中 TileDataSource
mapTile
- The tile to load.public java.lang.String swigGetClassName()
swigGetClassName
在类中 TileDataSource
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
在类中 TileDataSource