AddAreaToVectorLayer

globalmapper.AddAreaToVectorLayer(GM_LayerHandle_t32 aLayer, GM_AreaFeature_t aArea, GM_AddFeatureFlags_t8 aFlags) GM_Error_t32[source]

Adds an area feature to a loaded vector layer or custom vector layer created with the CreateCustomVectorLayer function.

Parameters:
  • aLayer (GM_LayerHandle_t32) – Layer to add area to

  • aArea (GM_AreaFeature_t) – Area feature to add

  • aFlags (GM_AddFeatureFlags_t8) – Flags controlling the add

Returns:

Error Code

Return type:

GM_Error_t32