Global Mapper SDK
GM_LoadPackage
Loads a new Global Mapper package (.gmp) file. You can also load package files with the GM_LoadLayerList command if you don't need to operate on the package as a whole.
A handle to the package is returned in aPackage. This package handle can be used in package-specific routines like GM_DrawPackageList. Each package handle must be closed by calling GM_ClosePackage when the caller is done using it.
Syntax
C++
Copy
GM_Error_t32 GM_LoadPackage
(
const char* aFilename,
GM_PackageHandle_t32* aPackage,
GM_LoadFlags_t32 aLoadFlags
);