globalmapper.SetLayerDescription

globalmapper.SetLayerDescription(GM_LayerHandle_t32 aLayer, string aDesc) GM_Error_t32[source]

Sets the description to use for this layer in the GM_LayerInfo_t structure and when adding it to a map catalog.

Parameters:
  • aLayer (GM_LayerHandle_t32) – layer to set description for

  • aDesc (str) – description to use (pass None to restore default)

Returns:

Error Code

Return type:

GM_Error_t32