Click or drag to resize

DBConfigurationBaseAddUpdateTileCacheLayer Method

Add a tile cache to the system, or update an existing layer.

Namespace:  Cadcorp.Configuration.Connectors
Assembly:  Cadcorp.Configuration (in Cadcorp.Configuration.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntax
public virtual int AddUpdateTileCacheLayer(
	string mapConfiguration,
	int layerId,
	string name,
	string[] url,
	string layer,
	int imageFormatID,
	bool imageCheckBox,
	int transitionEffectID,
	bool includeInLayerTree,
	int projectionID,
	bool visible,
	int tileHeight,
	int tileWidth,
	string copyright,
	bool useProxy,
	string proxyUrl,
	string proxyUserName,
	string proxyPassword,
	double[] resolutions
)

Parameters

mapConfiguration
Type: SystemString
Map Configuration name
layerId
Type: SystemInt32
Layer ID, -1 for a new layer.
name
Type: SystemString
Layer Name
url
Type: SystemString
Tile Cache URL
layer
Type: SystemString
Tile Cache layer name
imageFormatID
Type: SystemInt32
Image Format ID
imageCheckBox
Type: SystemBoolean
Imae CheckBox
transitionEffectID
Type: SystemInt32
Transition Effect ID
includeInLayerTree
Type: SystemBoolean
Include In Layer Tree>
projectionID
Type: SystemInt32
Projection ID
visible
Type: SystemBoolean
Visible?
tileHeight
Type: SystemInt32
Tile Height
tileWidth
Type: SystemInt32
Tile Width
copyright
Type: SystemString
Copyright Text
useProxy
Type: SystemBoolean
User Proxy?
proxyUrl
Type: SystemString
Proxy URL
proxyUserName
Type: SystemString
Proxy User Name (if authenticated)
proxyPassword
Type: SystemString
Proxy Password (if authenticated)
resolutions
Type: SystemDouble
Resolutions available

Return Value

Type: Int32
Number of Rows Affected.

Implements

IDBConfigWriterAddUpdateTileCacheLayer(String, Int32, String, String, String, Int32, Boolean, Int32, Boolean, Int32, Boolean, Int32, Int32, String, Boolean, String, String, String, Double)
See Also