VIEW_LAYOUT(Deprecated)
The VIEW_LAYOUT command allows defines a multi-view layout where various map views are placed in the user interface. This has been replaced by the PANE_LAYOUT command, which defines dockable panes. The older VIEW_LAYOUT definition will be converted to the newer PANE_LAYOUT when imported into Global Mapper v19 and later.
The VIEW_LAYOUT command consists of a single command line followed by a series of lines with the contents of a .gm_views file, like you would save from the Map View Manager dialog. You can also provide a .gm_views in the FILENAME parameter to just reference an external file rather than embedding the map view layout definition directly in the script file.
The VIEW_LAYOUT command is terminated with a single line containing only the text END_VIEW_LAYOUT.
For a sample of the VIEW_LAYOUT command in use, set up the view layout you want using the Map View Manager, 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 VIEW_LAYOUT command is used at the bottom of the file to define the map layout so long as you haven't disabled the save/restore of the multi-view layout to workspace files in the Advanced section of the General tab of the Configuration dialog.
The following parameters are required by the VIEW_LAYOUT command.
- FILENAME - specifies the name of a .gm_views file to use rather than embedding it.