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 RegisterMap (MapFName: string): boolean;

The method RegisterMap registers a map with the TGeoAtlas component. After registering a map it will be recognized as part of the atlas. Its outline will be displayed in any overlapping maps.

The parameter MapFName contains the filename of the map calibration data as created, for example, by the method SaveCalDataAsXML of the component TGeoMap.

Hint: When registering a map the calibration data of the map is read from disk and stored internally. However, the map image as well as the calibration data are still used by accessing the corresponding disk files. Thus you must not change the files of a registered map without prior unregistration.

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

Last Update: 2012-Oct-20