GM_Layer_tLoadOnlineLayer Method
Loads data from an online source, like a WMS server or TerraServer-USA

Namespace:  GlobalMapper
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

Syntax
C#
public static GM_Layer_t LoadOnlineLayer(
	string aSourceName,
	GM_Rectangle_t aLatLonRect,
	string aExtraLoadOptions
)

Parameters

aSourceName
Type: SystemString
IN: name of the TerraServer-USA theme or WMS source to load ("drg", "doq", etc.) or NULL to ask user
aLatLonRect
Type: GlobalMapperGM_Rectangle_t
IN: lat/lon rect to import (NULL to ask user)
aExtraLoadOptions
Type: SystemString
IN: extra load options

Return Value

Type: GM_Layer_t
The Loaded Layer
See Also