GM_UtilityMapCatalogDisableMap Method |
Disables/enables a map in a catalog (use GM_GetMapCatalogInfo to get the map count)
Namespace:
GlobalMapper
Assembly:
GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.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
)
Public Shared Function MapCatalogDisableMap (
aCatalogLayer As GM_Layer_t,
aMapIndex As UInteger,
aDisable As Boolean
) As GM_Error_t32
public:
static GM_Error_t32 MapCatalogDisableMap(
GM_Layer_t^ aCatalogLayer,
unsigned int aMapIndex,
bool aDisable
)
Parameters
- aCatalogLayer
- Type: GlobalMapper.TypesGM_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