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

Namespace:GlobalMapper
Assembly:  GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

Syntax
C#
Copy
public static GM_Error_t32 MapCatalogChangeMapOrder(
    GM_Layer_t aCatalogLayer,
    uint aCurMapIndex,
    uint aNewMapIndex,
    int aNumMapsToMove,
    Object aReserved
)

Parameters

aCatalogLayer
Type:  GlobalMapper . GM_Layer_t
IN: Handle to map catalog layer (either from loading or GM_CreateMapCatalog)
aCurMapIndex
Type:  System . UInt32
IN: Current index of map (0-based) to move
aNewMapIndex
Type:  System . UInt32
IN: New index of map (0-based)
aNumMapsToMove
Type:  System . Int32
IN: Number of maps to move (-1 for everything from aCurMapIndex to end of list)
aReserved
Type:  System . Object
Reserved for future use, must be NULL

Return Value

Type:  GM_Error_t32
A GM Error Code
See Also