Global Mapper SDK
GM_AddCustomAreaClass
Adds a new custom area classification.
Syntax
C++
Copy
GM_Error_t32 __stdcall GM_AddCustomAreaClass
(
const char* aName, // IN: Custom type name
const GM_AreaStyle_t* aStyle, // IN: Default draw style for features of this type
AreaFeatureClass_t16* aFeatureCode // OUT: Classification code for new type
);
Remarks
If this function succeeds, the new feature classification code will be returned in the aFeatureCode value. This code can then be used as the feature classification for area features.