GetOnlineSourceInfo

globalmapper.GetOnlineSourceInfo(str aSourceName, uint32 aReserved=0) GM_Error_t32, GM_OnlineSourceInfo_t[source]

Retrieves detailed information about a source by name and also determines if the source is available. You can use this to tell if a source is not usable due to something like the China firewall. Returns GM_Error_OnlineConnect if the source cannot be connected to. Returns GM_Error_OnlineUnknownSource if the source cannot be found.

Parameters:
  • aSourceName (str) – Name of online source to get detail info for

  • aReserved (uint32) – Reserved for future use; defaults to 0

Returns:

Error Code

Return type:

GM_Error_t32

Returns:

Detailed information about provided source, mostly in attributes

Return type:

GM_OnlineSourceInfo_t