globalmapper.GetLoadedLayerList

globalmapper.GetLoadedLayerList() GM_LayerHandle_t32, int[source]

Returns a pointer to an array of loaded layers. Returns 0 if nothing is loaded. Refer to the tutorial page on working with layer handles for more information on how to turn this array pointer into a usable object in Python.

Returns

Address of an array of layer Handles, or 0

Return type

GM_LayerHandle_t32

Returns

Count of layers in the array

Return type

uint_32