GM_Utility .MapCatalogDisableMap Method
Disables/enables a map in a catalog (use GM_GetMapCatalogInfo to get the map count)

Namespace:GlobalMapper
Assembly:  GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

Syntax
C#
Copy
public static GM_Error_t32 MapCatalogDisableMap(
    GM_Layer_t aCatalogLayer,
    uint aMapIndex,
    bool aDisable
)

Parameters

aCatalogLayer
Type:  GlobalMapper . GM_Layer_t
IN: Handle to map catalog layer (either from loading or GM_CreateMapCatalog)
aMapIndex
Type:  System . UInt32
IN: Index of map (0-based) to disable/enable
aDisable
Type:  System . Boolean
IN: Pass TRUE to disable map or FALSE to re-enable it

Return Value

Type:  GM_Error_t32
A GM Error Code
See Also