GM_MapCatalogAddFile

Adds a new map to the map catalog from a file on disk. The aCatalogLayer parameter should have either been created using GM_MapCatalogCreate or loaded with one of the GM_LoadLayer* functions .

Syntax

C++
Copy
GM_Error_t32 GM_MapCatalogAddFile
(
GM_LayerHandle_t32      aCatalogLayer,  // IN: Handle to map catalog layer (either from loading or GM_CreateMapCatalog)
const char*             aFilename       // IN: Filename of map to add to the catalog
GM_LoadFlags_t32        aAdditionalLoadFlags //IN: Additional load flags. Note that GM_LoadFlags_LoadMetadataOnly,
                                        // GM_LoadFlags_DisableSplit and GM_LoadFlags_HideUnknownPrompt already have
                                        //special processing. Adding these here would turn them on unconditionally
);