public class BitmapOverlayRasterTileDataSource extends TileDataSource
swigCMemOwn
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
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, getMaxZoom, getMinZoom, getProjection, notifyTilesChanged
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.public static long getCPtr(BitmapOverlayRasterTileDataSource 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 BitmapOverlayRasterTileDataSource swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public MapBounds getDataExtent()
public TileData loadTile(MapTile mapTile)
TileDataSource
loadTile
in class TileDataSource
mapTile
- The tile to load.public java.lang.String swigGetClassName()
swigGetClassName
in class TileDataSource
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
in class TileDataSource