public class TileDataSource
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
swigCMemOwn |
限定符 | 构造器和说明 |
---|---|
protected |
TileDataSource()
Constructs an abstract TileDataSource object.
|
protected |
TileDataSource(int minZoom,
int maxZoom)
Constructs an abstract TileDataSource object.
|
protected |
TileDataSource(int minZoom,
int maxZoom,
Projection projection) |
|
TileDataSource(long cPtr,
boolean cMemoryOwn) |
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(TileDataSource obj) |
MapBounds |
getDataBounds() |
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.
|
int |
getTileSize()
获取瓦片大小
|
boolean |
isIntervalLevel() |
TileData |
loadTile(MapTile tile)
Loads the specified tile.
|
void |
notifyTilesChanged(boolean removeTiles)
Notifies listeners that the tiles have changed.
|
void |
setDataBounds(MapBounds dataBounds) |
void |
setIntervalLevel(boolean value) |
void |
setTileSize(int size)
设置瓦片大小,规则为256的倍数
|
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)
protected TileDataSource()
protected 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.protected TileDataSource(int minZoom, int maxZoom, Projection projection)
public static long getCPtr(TileDataSource obj)
protected void finalize()
finalize
在类中 java.lang.Object
public void delete()
protected void swigDirectorDisconnect()
public void swigReleaseOwnership()
public void swigTakeOwnership()
public static TileDataSource swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
cPtr
- The native pointer of the instance.cMemoryOwn
- The ownership flag.public int getMinZoom()
public int getMaxZoom()
public Projection getProjection()
public void setTileSize(int size)
public int getTileSize()
public TileData loadTile(MapTile tile)
tile
- The tile to load.public void notifyTilesChanged(boolean removeTiles)
removeTiles
- The remove tiles flag.public boolean isIntervalLevel()
public void setIntervalLevel(boolean value)
public void setDataBounds(MapBounds dataBounds)
public MapBounds getDataBounds()
public java.lang.String swigGetClassName()
public java.lang.Object swigGetDirectorObject()