MAP_LAYOUT
The MAP_LAYOUT command defines onscreen map elements, including margins, scale bar, legend, etc.
The MAP_LAYOUT command consists of a single command line followed by a series of lines with the contents of a .gm_layout file. This is what is saved in a workspace that defines on screen map elements. You can also provide a .gm_layout in the FILENAME parameter to just reference an external file rather than embedding the map layout directly in the script file.
The following parameters are used by the MAP_LAYOUT command.
- FILENAME - specifies the name of a .gm_layout file to use rather than embedding it.
END_MAP_LAYOUT
The MAP_LAYOUT command is terminated with a single line containing only the text END_MAP_LAYOUT.
For a sample of the MAP_LAYOUT command in use, load some data, then save a Global Mapper workspace file from the File->Save Workspace menu command. Open the resulting .gmw file in an editor and you can see how the MAP_LAYOUT command is used at the bottom of the file to define the onscreen map elements.