GetLoadedLayerList

globalmapper.GetLoadedLayerList() GM_LayerHandle_t32, int[source]

Returns a pointer to an array of loaded layers. Returns 0 if nothing is loaded.

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

Example

The following is an example of GetLoadedLayerList.:

result = gm.GetLoadedLayerList()

For a more context refer to the tutorial page on working with layer handles.