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: 25.1.421.0 (25.1.421.0)
Syntax
public StkTerrainServer(
	IWebProxy proxy,
	TerrainCacheGroup cacheGroup
)

Parameters

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