Click or drag to resize

GM_UtilityMapCatalogChangeMapOrder Method

Moves a map from one index (0-based) in the map list to another

Namespace:  GlobalMapper
Assembly:  GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax
C#
public static GM_Error_t32 MapCatalogChangeMapOrder(
	GM_Layer_t aCatalogLayer,
	uint aCurMapIndex,
	uint aNewMapIndex,
	int aNumMapsToMove,
	Object aReserved
)

Parameters

aCatalogLayer
Type: GlobalMapperGM_Layer_t
IN: Handle to map catalog layer (either from loading or GM_CreateMapCatalog)
aCurMapIndex
Type: SystemUInt32
IN: Current index of map (0-based) to move
aNewMapIndex
Type: SystemUInt32
IN: New index of map (0-based)
aNumMapsToMove
Type: SystemInt32
IN: Number of maps to move (-1 for everything from aCurMapIndex to end of list)
aReserved
Type: SystemObject
Reserved for future use, must be NULL

Return Value

Type: GM_Error_t32
A GM Error Code
See Also