|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 CreateEmptyMapInMemory|
|See also: CalibDataFile, CreateAndLoadEmptyMap|
The method CreateEmptyMapInMemory creates a blank map in memory showing an area which is defined by the parameters LatLow, LongLow, LatHigh, LongHigh. If the parameter ShowGrid is TRUE a graticule is created. In this case 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 method CreateEmptyMapInMemory calls the routine OnDrawMapData after the map has been created in memory and before it is calibrated and displayed. It can be used to draw additional map features on the blank map (however, keep in mind that 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.