GM_ExportPackage |
Exports one or more layers to a new Global Mapper package file. If NULL is passed for the layer list handle, all loaded layers will be saved to the new package file, otherwise only the specified layer(s) will be exported. If NULL is provided for the world bounds, the entirety of each layer will be exported, otherwise only data within the specified bounds will be exported.
GM_Error_t32 __stdcall GM_ExportPackage ( const char* aFilename, // Name of new file to create GM_LayerHandle_t32* aLayerList, // List of layers to export or NULL for all uint32 aLayerCount, // Number of layers in list (0 for all) const GM_Rectangle_t* aWorldBounds, // World bounds to export or NULL for all double aSimpThreshold, // Simplification threshold, use 0.0 for no simplification GM_PackageExportFlags_t32 aFlags // Export flags );