GM_UtilityMapCatalogSetMapOption Method |
Sets an option for a map in a map catalog, like the native projection. The data passed in depends on the option type.
Namespace:
GlobalMapper
Assembly:
GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax public static GM_Error_t32 MapCatalogSetMapOption(
GM_Layer_t aCatalogLayer,
uint aMapIndex,
GM_MapCatalogMapOpt_t8 aMapOpt,
GM_Projection_t aMapProj
)
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 - aMapOpt
- Type: GlobalMapperGM_MapCatalogMapOpt_t8
IN: Option to set. This determines what type you should pass in for *aOptData* - aMapProj
- Type: GlobalMapperGM_Projection_t
IN: Data to use for option. The value of *aMapOpt* controls what this should be.
Return Value
Type:
GM_Error_t32A GM Error Code
See Also