globalmapper.MapCatalogChangeMapOrder ===================================== .. currentmodule:: globalmapper .. py:function:: MapCatalogChangeMapOrder (GM_LayerHandle_t32 aCatalogLayer, uint32 aCurMapIndex, uint32 aNewMapIndex, sint32 aNumMapsToMove, int aReserved) -> GM_Error_t32 Moves *aNumMapsToMove* maps starting at *aCurMapIndex* in the map list to *aNewMapIndex*. If you use -1 for *aNumMapsToMove*, all maps from *aNumMapsToMove* to the end of the list will be moved to *aNewMapIndex*. In that case, *aNewMapIndex* must be smaller than *aCurMapIndex*. :param GM_LayerHandle_t32 aCatalogLayer: Handle to map catalog layer (either from loading or CreateMapCatalog) :param uint32 aCurMapIndex: Current index of map (0-based) to move :param uint32 aNewMapIndex: New index of map (0-based) :param sint32 aNumMapsToMove: Number of maps to move (-1 for everything from aCurMapIndex to end of list) :param int aReserved: Reserved for future use; must be 0. :returns: Error Code :rtype: GM_Error_t32