GM_ExportWebFormat |
Exports one or more layers to a files to a web format for display in a web browser or other web-based tool. If NULL is passed for the layer handle list, all layers will be saved to the new data set, otherwise only the specified layers will be exported. If NULL is provided for the world bounds, all available data will be exported, otherwise only data within the specified bounds will be exported.
The aExtraFlags parameter allows the specification of any extra options not supports in the aExportOpts parameter. The options should be specified with the option name, followed by an equal sign, followed by the option value. Most users will pass NULL or an empty string for this value unless they need a non-default value for an extra option. Currently the following extra options are supported:
GM_Error_t32 __stdcall GM_ExportWebFormat ( const char* aFilename, // Name of HTML/XML file to create GM_WebExportFormat_t32 aWebFormat, // Format to export 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 const GM_WebFormatExportOpts_t* aExportOpts, // Export options const char* aExtraFlags // Additional text-based flags for some formats (use NULL for defaults) );