public class CombinedTileDataSource extends TileDataSource
swigCMemOwn
Constructor and Description |
---|
CombinedTileDataSource(long cPtr,
boolean cMemoryOwn) |
CombinedTileDataSource(TileDataSource dataSource1,
TileDataSource dataSource2,
int zoomLevel)
Constructs a combined tile data source object.
|
Modifier and Type | Method and Description |
---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(CombinedTileDataSource obj) |
TileData |
loadTile(MapTile tile)
Loads the specified tile.
|
static CombinedTileDataSource |
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 CombinedTileDataSource(long cPtr, boolean cMemoryOwn)
public CombinedTileDataSource(TileDataSource dataSource1, TileDataSource dataSource2, int zoomLevel)
dataSource1
- First data source that is used if requested tile is below given zoomLevel.dataSource2
- Second data source that is used if requested tile is at or above given zoomLevel.zoomLevel
- Threshold zoom level value.public static long getCPtr(CombinedTileDataSource 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 CombinedTileDataSource swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public TileData loadTile(MapTile tile)
TileDataSource
loadTile
in class TileDataSource
tile
- The tile to load.public java.lang.String swigGetClassName()
swigGetClassName
in class TileDataSource
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
in class TileDataSource