Click or drag to resize

StkTerrainServer Constructor (IWebProxy, TerrainCacheGroup)

Initializes a new instance, which will connect to an AGI server for terrain data. The TilesetName will default to "world", and the provider will request tiles at the maximum zoom level.

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public StkTerrainServer(
	IWebProxy proxy,
	TerrainCacheGroup cacheGroup
)

Parameters

proxy
Type: System.NetIWebProxy
The proxy to use when connecting. Optional, default is .
cacheGroup
Type: AGI.Foundation.TerrainTerrainCacheGroup
The cache group of which this provider is a member.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when cacheGroup is .
Remarks
Note that an internet connection is required to use this constructor successfully.
See Also