Retrieve a handle to a map layer in the application's project. If the map layer is not found in the project, the map layer is created.
Declaration | zProj.h |
---|---|
Implementation | zProj.cpp |
ZMAP zproj_GetOrCreateMap(const char* lpMapName);
Name | Type | Comment |
---|---|---|
lpMapName | const char* | A handle to a C-style string containing the name of the map to be retrieved or created. |
Null if an error occurred, and a valid non-null ZMAP
handle otherwise.
This function first calls zproj_GetMap, and if that fails, calls zproj_CreateMap. Please refer to the reference pages for those functions for more information.