Global Mapper SDK
GM_GetLoadedLayerList
GM_GetLoadedLayerList
Returns a list of loaded layers. You should copy the list into your own local structure after calling as the pointer could become invalid the next time you call this. If you are using the GM_MapWindow class in the C++ sample application there is no need to use this as that keeps track of the layers itself.
Syntax
C++
Copy
const GM_LayerHandle_t32* __stdcall GM_GetLoadedLayerList
(
uint32* aLayerCount // OUT: count of layers in returned list
)