Global Mapper SDK
GM_AddHoleInArea
Adds a new hole / island to a loaded area feature.
Syntax
C++
Copy
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_AddHoleInArea
(
GM_LayerHandle_t32 aLayer, // IN: Layer the area is in
uint32 aAreaIndex, // IN: 0-based index of area in layer
const GM_HoleInArea_t* aNewHoleDef, // IN: definition of new hole to add to area feature
boolean aCheckHoleInParent // IN: confirm that the hole is completely contained within the parent area feature (a bounding box check is always done, this is a more expensive test)
);