globalmapper.AddCustomAreaClass

globalmapper.AddCustomAreaClass(string aName, GM_AreaStyle_t aStyle) GM_Error_t32, AreaFeatureClass_t16[source]

Adds a new custom area classification. If this function succeeds, the new feature classification code will be returned as a AreaFeatureClass_t16 value. This code can then be used as the feature classification for area features.

Parameters:
  • aName (str) – Custom type name

  • aStyle (GM_AreaStyle_t) – Default draw style for features of this type

Returns:

Error Code

Return type:

GM_Error_t32

Returns:

Classification code for new type

Return type:

AreaFeatureClass_t16