AddCustomPointClass

globalmapper.AddCustomPointClass(str aName, GM_PointStyle_t aStyle) GM_Error_t32, PointFeatureClass_t16[source]

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

Parameters:
  • aName (str) – Custom type name

  • aStyle (GM_PointStyle_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:

PointFeatureClass_t16