MapCatalogRemoveMap¶
- globalmapper.MapCatalogRemoveMap(GM_LayerHandle_t32 aCatalogLayer, uint32 aMapIndex) GM_Error_t32 [source]¶
Removes the map at the given index from the catalog
- Parameters:
aCatalogLayer (GM_LayerHandle_t32) – Handle to map catalog layer (either from loading or CreateMapCatalog)
aMapIndex (uint32) – Index of map (0-based) to remove from map catalog
- Returns:
Error Code
- Return type:
GM_Error_t32
Example¶
The following is an example of MapCatalogRemoveMap.:
gm.MapCatalogRemoveMap(layers_list[0], i)
For more context refer to the map catalog sample scripts.