public class BitmapOverlayRasterTileDataSource extends TileDataSource
swigCMemOwn
构造器和说明 |
---|
BitmapOverlayRasterTileDataSource(int minZoom,
int maxZoom,
Bitmap bitmap,
Projection projection,
MapPosVector mapPoses,
ScreenPosVector bitmapPoses)
Constructs a new bitmap overlay data source.
|
BitmapOverlayRasterTileDataSource(long cPtr,
boolean cMemoryOwn) |
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(BitmapOverlayRasterTileDataSource obj) |
MapBounds |
getDataExtent()
Returns the extent of this data source.
|
TileData |
loadTile(MapTile mapTile)
Loads the specified tile.
|
static BitmapOverlayRasterTileDataSource |
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 BitmapOverlayRasterTileDataSource(long cPtr, boolean cMemoryOwn)
public BitmapOverlayRasterTileDataSource(int minZoom, int maxZoom, Bitmap bitmap, Projection projection, MapPosVector mapPoses, ScreenPosVector bitmapPoses)
minZoom
- The minimum zoom for generated tiles.maxZoom
- The maximum zoom for generated tiles.bitmap
- The bitmap to use as an overlay.projection
- The projection definining coordinate system of the control points.mapPoses
- The geographical control points. The list must contain either 2, 3 or 4 points.bitmapPoses
- The pixel coordinates in the bitmap corresponding to geographical control points. The number of coordinates must be equal to the number of control points in mapPoses list.java.lang.IllegalArgumentException
- If the transformation can not be calculated.public static long getCPtr(BitmapOverlayRasterTileDataSource 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 BitmapOverlayRasterTileDataSource swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
cPtr
- The native pointer of the instance.cMemoryOwn
- The ownership flag.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