CombineAreas

globalmapper.CombineAreas(GM_AreaFeature_t aAreaList, uint32 aNumAreas, GM_Projection_t aAreaProj, GM_LayerHandle_t32 aNewAreaLayer) GM_Error_t32[source]

Combines the given list of areas into one or more new area features and adds the new area to the given layer. Any areas that touch or overlap should be combined.

Parameters:
  • aAreaList (GM_AreaFeature_t) – List of areas to combine

  • aNumAreas (uint32) – Number of areas in aAreaList

  • aAreaProj (GM_Projection_t) – Projection system the area coordinates are in (use None for current projection)

  • aNewAreaLayer (GM_LayerHandle_t32) – Layer to add new combined areas to

Returns:

Error Code

Return type:

GM_Error_t32