LOAD_STYLE_FILE

The LOAD_STYLE_FILE command load a Global Mapper Style (.gm_style) file containing style definitions for a list of types. You can optionally choose to have any types specified in the style file that aren't present in the running instance of Global Mapper to be added, providing a script way to add new custom types. The following parameters are supported by the command:

  • FILENAME - full path to style (.gm_style) file to load
  • ADD_UNKNOWN_TYPES - specifies that any types found in the style file that aren't present will be added as custom types. Use ADD_UNKNOWN_TYPES=NO to disable adding missing types, or ADD_UNKNOWN_TYPES=YES to enable it (this is the default).