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:  GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax
public static GM_Error_t32 MapCatalogChangeMapOrder(
	GM_Layer_t aCatalogLayer,
	uint aCurMapIndex,
	uint aNewMapIndex,
	int aNumMapsToMove,
	Object aReserved
)

Parameters

aCatalogLayer
Type: GlobalMapper.TypesGM_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