globalmapper.MapCatalogDisableMap¶
- globalmapper.MapCatalogDisableMap(GM_LayerHandle_t32 aCatalogLayer, uint32 aMapIndex, bool aDisable) GM_Error_t32 [source]¶
Disables (or re-enables) a map inside a map catalog. Use MapCatalogGetInfo to get the count of maps in a layer.
- Parameters:
aCatalogLayer (GM_LayerHandle_t32) – Handle to map catalog layer (either from loading or CreateMapCatalog)
aMapIndex (uint32) – Index of map (0-based) to disable/enable
aDisable (bool) – Pass TRUE to disable map or FALSE to re-enable it
- Returns:
Error Code
- Return type:
GM_Error_t32