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.... |
Home GeoPack GeoMap Class TGeoMap Methods CreateAndLoadEmptyMap | |||||||||||||
See also: CalibDataFile, TOnDrawMapDataEvent, CreateEmptyMapInMemory | |||||||||||||
CreateAndLoadEmptyMap |
|||||||||||||
The method CreateAndLoadEmptyMap creates a blank map showing an area which is defined by the parameters LatLow, LongLow, LatHigh, LongHigh. The parameters dLat and dLong control the distance of displayed graticule lines. They may take any non-zero, positive value. The parameters Wid and Hgt specify the width and the height of the map image (in pixels). They must not be less than 100 pixels. The blank map is written as a Windows BMP file to the disk using the file specification contained in FName. The method CreateAndLoadEmptyMap calls the routine OnDrawMapData after the map has been created in memory and before it is saved on disk. It can be used to draw additional map features on the blank map (however, the map is not calibrated at this point, it is simply an image). It should be set to NIL if no additional drawing needs to be done.
|