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: property OnMapImageRequest: TMapImgRequestEvent;
{TMapImgRequestEvent = procedure (Sender: TObject; var FileName: string) of object;}

The event OnMapImageRequest is triggered during the loading of a map before the corresponding map image is actually loaded. This gives the user a chance to redirect the call for the map image (e.g. in order to be able to load it from a stream).

Hint: Remember that the a map is always based on two files: the graticule data and the map image. The graticule definition contains a pointer to the associated map image. Whenever a new graticule is loaded from disk, also the corresponding map image will be loaded.

Last Update: 2012-Oct-24