Global Mapper SDK
GM_FindLoadedLayer
Returns a handle to a matching loaded layer, or NULL if no match could be found or there are multiple matches.
The filename will be matched against a loaded layer filename or, if that fails, a layer description.
Wildcards ('*' and '?') are supported.
Syntax
C++
Copy
GM_DLL_EXPORTED GM_LayerHandle_t32 __stdcall GM_FindLoadedLayer
(
const char* aFilename
)