The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Declaration:function ControlToMapImage (const APoint: TPoint): TPoint;

The function ControlToMapImage transforms the pixel coordinates APoint from the screen reference frame to the map reference frame. Please note that the transfer function is not limited to the actual scanned map image - points outside the map can be transformed as well.

Hint: Please note that the scanned map image can be accessed by using the property MapBitmap.

Example: This method is used in the following example program (see for downloading the code): simplegeomap

Last Update: 2017-Mai-21