GM_UtilityMapCatalogDisableMap Method |
Disables/enables a map in a catalog (use GM_GetMapCatalogInfo to get the map count)
Namespace:
GlobalMapper
Assembly:
GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax public static GM_Error_t32 MapCatalogDisableMap(
GM_Layer_t aCatalogLayer,
uint aMapIndex,
bool aDisable
)
Parameters
- aCatalogLayer
- Type: GlobalMapperGM_Layer_t
IN: Handle to map catalog layer (either from loading or GM_CreateMapCatalog) - aMapIndex
- Type: SystemUInt32
IN: Index of map (0-based) to disable/enable - aDisable
- Type: SystemBoolean
IN: Pass TRUE to disable map or FALSE to re-enable it
Return Value
Type:
GM_Error_t32A GM Error Code
See Also