|Declaration:|| function LoadCalDataFromXML (FName: string; DataID: string): boolean;|
 function LoadCalDataFromXML (InStream: TMemoryStream; DataID: string): boolean;
The method LoadCalDataFromXML is available in two overloaded versions: version  reads the calibration data from the XML file FName which has been previously created by the methods WriteCalDataToOpenXMLFile or SaveCalDataAsXML. Version  reads the calibration data from the stream InStream.
If the parameter DataID is empty, the first <geomap> tag is evaluated and read into the TGeoMap instance. If DataID is not empty, the entire rest of the file is read until a <geomap> tag is found whose attribute "id " matches DataID (the recognition of the "id
" attribute is not case-sensitive). The function LoadCalDataFromXML returns TRUE if both a valid starting tag <geomap> and a valid end tag </geomap> has been found and the map data has been updated.
||The method LoadCalDataFromXML triggers the OnMapImageRequest immediately before it tries to load the map ímage. This provides a hook to redirect the source of the map image.