public class TileDataSource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Constructor and Description |
---|
TileDataSource(int minZoom,
int maxZoom)
Constructs an abstract TileDataSource object.
Note: EPSG3857 projection is used. |
TileDataSource(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(TileDataSource obj) |
int |
getMaxZoom()
Returns the maximum zoom level supported by this data source.
|
int |
getMinZoom()
Returns the minimum zoom level supported by this data source.
|
Projection |
getProjection()
Returns the projection of this tile source.
|
TileData |
loadTile(MapTile tile)
Loads the specified tile.
|
void |
notifyTilesChanged(boolean removeTiles)
Notifies listeners that the tiles have changed.
|
static TileDataSource |
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() |
public TileDataSource(long cPtr, boolean cMemoryOwn)
public TileDataSource(int minZoom, int maxZoom)
minZoom
- The minimum zoom level supported by this data source.maxZoom
- The maximum zoom level supported by this data source.public static long getCPtr(TileDataSource obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
protected void swigDirectorDisconnect()
public void swigReleaseOwnership()
public void swigTakeOwnership()
public static TileDataSource swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public int getMinZoom()
public int getMaxZoom()
public Projection getProjection()
public TileData loadTile(MapTile tile)
tile
- The tile to load.public void notifyTilesChanged(boolean removeTiles)
removeTiles
- The remove tiles flag.public java.lang.String swigGetClassName()
public java.lang.Object swigGetDirectorObject()