MSFBitmapOverlayRasterTileDataSource
Objective-C
@interface MSFBitmapOverlayRasterTileDataSource : MSFTileDataSource
Swift
class MSFBitmapOverlayRasterTileDataSource : MSFTileDataSource
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.
Declaration
Objective-C
- (id)initWithMinZoom:(int)minZoom maxZoom:(int)maxZoom bitmap:(MSFBitmap *)bitmap projection:(MSFProjection *)projection mapPoses:(MSFMapPosVector *)mapPoses bitmapPoses:(MSFScreenPosVector *)bitmapPoses;Swift
init!(minZoom: Int32, maxZoom: Int32, bitmap: MSFBitmap!, projection: MSFProjection!, mapPoses: MSFMapPosVector!, bitmapPoses: MSFScreenPosVector!)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. @throws NSException If the transformation can not be calculated.
-
Undocumented
Declaration
Objective-C
- (MSFMapBounds *)getDataExtent;Swift
func getDataExtent() -> MSFMapBounds! -
Undocumented
Declaration
Objective-C
-(MSFMapBounds*)getDataExtentSwigExplicitMSFBitmapOverlayRasterTileDataSource;Swift
func getDataExtentSwigExplicitMSFBitmapOverlayRasterTileDataSource() -> MSFMapBounds! -
Undocumented
Declaration
Objective-C
- (MSFTileData *)loadTile:(MSFMapTile *)mapTile;Swift
func load(_ mapTile: MSFMapTile!) -> MSFTileData! -
Undocumented
Declaration
Objective-C
-(MSFTileData*)loadTileSwigExplicitMSFBitmapOverlayRasterTileDataSource: (MSFMapTile*)mapTile;Swift
func loadTileSwigExplicitMSFBitmapOverlayRasterTileDataSource(_ mapTile: MSFMapTile!) -> MSFTileData! -
Undocumented
Declaration
Objective-C
-(void)dealloc;Swift
func dealloc()