Global Mapper SDK
GM_AddLineToVectorLayer
Adds a line feature to a loaded vector layer or custom vector layer create with the GM_CreateCustomVectorLayer function.
Syntax
C++
Copy
GM_DLL_EXPORTED GM_Error_t32 GM_AddLineToVectorLayer
(
GM_LayerHandle_t32 aLayer, // IN: Layer to add line to
const GM_LineFeature_t* aLine, // IN: Line feature to add
GM_AddFeatureFlags_t8 aFlags // IN: Flags controlling the add
);