globalmapper.AddLineToVectorLayer ================================= .. currentmodule:: globalmapper .. py:function:: AddLineToVectorLayer (GM_LayerHandle_t32 aLayer, GM_LineFeature_t aLine, GM_AddFeatureFlags_t8 aFlags) -> GM_Error_t32 Adds a line feature to a loaded vector layer or custom vector layer created with the :doc:`CreateCustomVectorLayer function`. :param GM_LayerHandle_t32 aLayer: Layer to add line to :param GM_LineFeature_t aLine: Line feature to add :param GM_AddFeatureFlags_t8 aFlags: Flags controlling the add :returns: Error Code :rtype: GM_Error_t32