CombineTerrainLayers

globalmapper.CombineTerrainLayers(GM_GridCombineSetup_t aSetup, uint32 aReserved=0) GM_Error_t32, GM_LayerHandle_t32[source]

Combines two loaded terrain layers using some operation (i.e. addition, subtraction, etc.) and creates a new terrain layer from the combined return. The returned new layer must be closed with CloseLayer when you are done working with it.

Parameters:
  • aSetup (GM_GridCombineSetup_t) – Setup for operation

  • aReserved (uint32) – Reserved for future use; defaults to 0

Returns:

Error Code

Return type:

GM_Error_t32

Returns:

Layer handle for newly created combined layer

Return type:

GM_LayerHandle_t32