Click or drag to resize

IDBConfigWriterAddUpdateXYZLayer Method

Add an XYZ layer to the site, or update an existing xyz layer.

Namespace:  Cadcorp.Configuration.Connectors
Assembly:  Cadcorp.Configuration (in Cadcorp.Configuration.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntax
int AddUpdateXYZLayer(
	string mapConfiguration,
	int layerId,
	string name,
	string[] url,
	bool visible,
	bool showImageCheckBox,
	int projectionID,
	string copyright,
	int tileHeight,
	int tileWidth,
	int transitionEffectId,
	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
URL of Tile Cache
visible
Type: SystemBoolean
Visible?
showImageCheckBox
Type: SystemBoolean
Show Image CheckBox?
projectionID
Type: SystemInt32
Projection ID
copyright
Type: SystemString
Copyright Text
tileHeight
Type: SystemInt32
Tile Height
tileWidth
Type: SystemInt32
Tile Width
transitionEffectId
Type: SystemInt32
Transition Effect ID
useProxy
Type: SystemBoolean
Use a proxy?
proxyUrl
Type: SystemString
Proxy URL
proxyUserName
Type: SystemString
Proxy User Name (if authenticated)
proxyPassword
Type: SystemString
Proxy Password (if authenticated)
resolutions
Type: SystemDouble
Available resolutions.

Return Value

Type: Int32
Number of Rows Affected.
See Also