- 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
Example
The following is an example of AddAreaToVectorLayer.:
gm.AddAreaToVectorLayer(created_layer, area, gm.GM_AddFeature_MoreAddsToFollow)
For more context refer to the custom layer and feature creation sample scripts.
Comments
0 comments
Please sign in to leave a comment.