Click or drag to resize

GM_UtilityMapCatalogSetDisplayInfo Method

Sets when the layers in a map catalog should be displayed

Namespace:  GlobalMapper
Assembly:  GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax
C#
public static GM_Error_t32 MapCatalogSetDisplayInfo(
	GM_Layer_t aCatalogLayer,
	GM_MapCatalogDisplayType_t8 aDisplayType,
	double aDisplayValue,
	double aDisplayValue2,
	bool aHideBounds
)

Parameters

aCatalogLayer
Type: GlobalMapperGM_Layer_t
IN: Handle to map catalog layer (either from loading or GM_CreateMapCatalog)
aDisplayType
Type: GlobalMapperGM_MapCatalogDisplayType_t8
IN: Controls when layers in catalog are displayed
aDisplayValue
Type: SystemDouble
IN: First value related to display type
aDisplayValue2
Type: SystemDouble
IN: Optional second value for range of scales (use 0.0 if doesn't apply)
aHideBounds
Type: SystemBoolean
IN: Hide layer bounds when not drawing a layer?

Return Value

Type: GM_Error_t32
A GM Error Code
See Also