globalmapper.AddLineToVectorLayer

globalmapper.AddLineToVectorLayer(GM_LayerHandle_t32 aLayer, GM_LineFeature_t aLine, GM_AddFeatureFlags_t8 aFlags) GM_Error_t32[source]

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

Parameters
  • aLayer (GM_LayerHandle_t32) – Layer to add line to

  • aLine (GM_LineFeature_t) – Line feature to add

  • aFlags (GM_AddFeatureFlags_t8) – Flags controlling the add

Returns

Error Code

Return type

GM_Error_t32