globalmapper.AddAreaToVectorLayer ================================= .. currentmodule:: globalmapper .. py:function:: AddAreaToVectorLayer (GM_LayerHandle_t32 aLayer, GM_AreaFeature_t aArea, GM_AddFeatureFlags_t8 aFlags) -> GM_Error_t32 Adds an area feature to a loaded vector layer or custom vector layer created with the :doc:`CreateCustomVectorLayer function`. :param GM_LayerHandle_t32 aLayer: Layer to add area to :param GM_AreaFeature_t aArea: Area feature to add :param GM_AddFeatureFlags_t8 aFlags: Flags controlling the add :returns: Error Code :rtype: GM_Error_t32