globalmapper.MapCatalogSetMapOption =================================== .. currentmodule:: globalmapper .. py:function:: MapCatalogSetMapOption (GM_LayerHandle_t32 aCatalogLayer, uint32 aMapIndex, GM_MapCatalogMapOpt_t8 aMapOpt, int aOptData) -> GM_Error_t32 Sets an option for a map in the map catalog, like the native projection. The option type determines what type of data to pass in for the *aOptData* parameter. The following types of options can be set: - **GM_MapCatalog_SetMapProjection** - set the native projection to use for the map. The *aOptData* should be a GM_Projection_t :param GM_LayerHandle_t32 aCatalogLayer: Handle to map catalog layer (either from loading or CreateMapCatalog) :param uint32 aMapIndex: Index of map (0-based) to disable/enable :param GM_MapCatalogMapOpt_t8 aMapOpt: Option to set. This determines what type you should pass in for *aOptData* :param int aOptData: Data to use for option. The value of *aMapOpt* controls what this should be. :returns: Error Code :rtype: GM_Error_t32