Click or drag to resize

GM_MapCatalogAddLayer

Adds a new map to the map catalog from a layer that has already been loaded. The aCatalogLayer parameter should have either been created using GM_MapCatalogCreate or loaded with one of the GM_LoadLayer* functions.

Note that the layer provided will remain open as a separate layer as well. If this is not the desired behavior, simply call GM_CloseLayer on the map layer after adding it to the catalog layer.

Syntax
GM_Error_t32 GM_MapCatalogAddLayer
(
GM_LayerHandle_t32      aCatalogLayer,  // IN: Handle to map catalog layer (either from loading or GM_CreateMapCatalog)
GM_LayerHandle_t32      aMapLayer       // IN: Handle of loaded map layer to add to the catalog
);