MapCatalogAddFile

globalmapper.MapCatalogAddFile(GM_LayerHandle_t32 aCatalogLayer, string aFilename) GM_Error_t32[source]

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

Parameters:
  • aCatalogLayer (GM_LayerHandle_t32) – Handle to map catalog layer (either from loading or CreateMapCatalog)

  • aFilename (str) – Filename of map to add to the catalog

Returns:

Error Code

Return type:

GM_Error_t32