NTBitmapOverlayRasterTileDataSource
@interface NTBitmapOverlayRasterTileDataSource : NTTileDataSource
Tile data source that uses given bitmap with two, three or four control points define a raster overlay. Note: if two points are given, conformal transformation is calculated. If three points are given, affine transformation is calculated. In case of four points, perspective transformation is used.
-
Constructs a new bitmap overlay data source.
Warning
Throws NSException If the transformation can not be calculated.Declaration
Objective-C
- (id)initWithMinZoom:(int)minZoom maxZoom:(int)maxZoom bitmap:(NTBitmap *)bitmap projection:(NTProjection *)projection mapPoses:(NTMapPosVector *)mapPoses bitmapPoses:(NTScreenPosVector *)bitmapPoses;
Parameters
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.
-
Undocumented
Declaration
Objective-C
- (NTMapBounds *)getDataExtent;
-
Undocumented
Declaration
Objective-C
-(NTMapBounds*)getDataExtentSwigExplicitNTBitmapOverlayRasterTileDataSource;
-
Undocumented
Declaration
Objective-C
- (NTTileData *)loadTile:(NTMapTile *)mapTile;
-
Undocumented
Declaration
Objective-C
-(NTTileData*)loadTileSwigExplicitNTBitmapOverlayRasterTileDataSource: (NTMapTile*)mapTile;
-
Undocumented
Declaration
Objective-C
-(void)dealloc;