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, notifyTilesChangedpublic 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 TileDataSourcepublic void delete()
delete in class TileDataSourceprotected void swigDirectorDisconnect()
swigDirectorDisconnect in class TileDataSourcepublic void swigReleaseOwnership()
swigReleaseOwnership in class TileDataSourcepublic void swigTakeOwnership()
swigTakeOwnership in class TileDataSourcepublic static BitmapOverlayRasterTileDataSource swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public MapBounds getDataExtent()
public TileData loadTile(MapTile mapTile)
TileDataSourceloadTile in class TileDataSourcemapTile - The tile to load.public java.lang.String swigGetClassName()
swigGetClassName in class TileDataSourcepublic java.lang.Object swigGetDirectorObject()
swigGetDirectorObject in class TileDataSource