Table of Contents

map_SplitToMosaic

Description

Convert an existing all-in-RAM map into a tiled mosaic map.

Function prototype

bool CExtAPI::map_SplitToMosaic(ZMAP hMap, const char* lpMosaicFileName, long TileSize, ZFORMAT hFormat, const char* lpProjMapName);

Arguments

Name Type Comment
hMap ZMAP A ZMAP handle to the map variable that is to be split into a tiled mosaic map.
lpMosaicFileName const char* A handle to a C-style string that contains the full path-name of the mosaic master file to be used by this map.
TileSize long The width and height of the tiles in the map.
hFormat ZFORMAT A ZFORMAT handle to the format variable to be used to load/save the mosaic.
lpProjMapName const char* A handle to a C-style string that contains the name of the map in the project (usually NULL). Please refer to project_GetMap for valid map names.

Return value

False if an error occurred, and true otherwise.

Comments

None.