globalmapper.LoadMapLayoutFile ============================== .. currentmodule:: globalmapper .. py:function:: LoadMapLayoutFile (str aFilename, int aReserved) -> GM_Error_t32 Loads a map layout from a file. The map layout text file sets up the display of elevation legend, distance scale, vector feature legend, and north arrow. If you provide the flag GM_DrawFlags_DrawMapLayoutLayers when drawing then any configured map layout layers will be displayed. The map layout file is a simple text file. While there is not a document describing its format, you can setup a map layout on the Map Layout dialog in the Global Mapper application and save it to a file, then examine and edit that in a text editor to determine the format. :param str aFilename: name of map layout filename :param int aReserved: Reserved for later use, must be 0. :returns: Error Code :rtype: GM_Error_t32