GM_Utility .MapCatalogSetDisplayInfo Method |
Sets when the layers in a map catalog should be displayed
Namespace:GlobalMapper
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

C#
Copy
public static GM_Error_t32 MapCatalogSetDisplayInfo(
GM_Layer_t aCatalogLayer,
GM_MapCatalogDisplayType_t8 aDisplayType,
double aDisplayValue,
double aDisplayValue2,
bool aHideBounds
)
Parameters
- aCatalogLayer
-
Type:
GlobalMapper
.
GM_Layer_t
IN: Handle to map catalog layer (either from loading or GM_CreateMapCatalog) - aDisplayType
-
Type:
GlobalMapper
.
GM_MapCatalogDisplayType_t8
IN: Controls when layers in catalog are displayed - aDisplayValue
-
Type:
System
.
Double
IN: First value related to display type - aDisplayValue2
-
Type:
System
.
Double
IN: Optional second value for range of scales (use 0.0 if doesn't apply) - aHideBounds
-
Type:
System
.
Boolean
IN: Hide layer bounds when not drawing a layer?
Return Value
Type: GM_Error_t32A GM Error Code
