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
minZoomThe minimum zoom for generated tiles.
maxZoomThe maximum zoom for generated tiles.
bitmapThe bitmap to use as an overlay.
projectionThe projection definining coordinate system of the control points.
mapPosesThe geographical control points. The list must contain either 2, 3 or 4 points.
bitmapPosesThe 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;
View on GitHub
NTBitmapOverlayRasterTileDataSource Class Reference