globalmapper.SetFeatureClassEnabled

globalmapper.SetFeatureClassEnabled(FeatureClass_t16 aFeatureClass, GM_FeatureClassType_t8 aFeatureClassType, bool aEnable) bool[source]

Enables or disables the display of the given feature class. The previous enable/disable state is returned.

Parameters:
  • aFeatureClass (FeatureClass_t16) – Feature class to get info for

  • aFeatureClassType (GM_FeatureClassType_t8) – Type of feature class (area, point, line)

  • aEnable (bool) – Enable or disable the feature class

Returns:

The display state of aFeatureClass before this function was called

Return type:

bool