Click or drag to resize

DBConfigurationBaseAddUpdateWMSLayer Method

Add a WMS Layer, or update an existing WMS additional 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 AddUpdateWMSLayer(
	string mapConfiguration,
	int layerId,
	string name,
	string[] url,
	string copyright,
	int buffer,
	string version,
	bool isBaseLayer,
	bool includeInLayerTree,
	bool visible,
	int projectionId,
	int transitionEffectID,
	int imageFormatID,
	bool showLegendButton,
	bool imageCheckbox,
	string legendUrl,
	int legendImageHeight,
	int legendImageWidth,
	string exceptions,
	string abstractText,
	int tileHeight,
	int tileWidth,
	bool displayOutsideMaxExtent,
	int numOfZoomLevels,
	string[] layers,
	bool singleTile,
	bool useProxy,
	string proxyUrl,
	string proxyUserName,
	string proxyPassword
)

Parameters

mapConfiguration
Type: SystemString
Map Configuration Name
layerId
Type: SystemInt32
Layer ID, -1 for new
name
Type: SystemString
Layer Name
url
Type: SystemString
URL
copyright
Type: SystemString
Copyright text
buffer
Type: SystemInt32
Buffer
version
Type: SystemString
WMS Version
isBaseLayer
Type: SystemBoolean
Is Base Layer?
includeInLayerTree
Type: SystemBoolean
Include in Layer Tree?
visible
Type: SystemBoolean
Visible?
projectionId
Type: SystemInt32
Proejction ID
transitionEffectID
Type: SystemInt32
Transition Effect ID
imageFormatID
Type: SystemInt32
Imae Format ID
showLegendButton
Type: SystemBoolean
Show Legend Button
imageCheckbox
Type: SystemBoolean
Show Image CheckBox?
legendUrl
Type: SystemString
Legend URL
legendImageHeight
Type: SystemInt32
Legend Image Height
legendImageWidth
Type: SystemInt32
Legend Image Width
exceptions
Type: SystemString
Exceptions
abstractText
Type: SystemString
Abstract Text
tileHeight
Type: SystemInt32
Tile Height
tileWidth
Type: SystemInt32
Tile Width
displayOutsideMaxExtent
Type: SystemBoolean
Display outside max extent?
numOfZoomLevels
Type: SystemInt32
Number of zoom levels
layers
Type: SystemString
Layers to display
singleTile
Type: SystemBoolean
Display as single tile?
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)

Return Value

Type: Int32
Number of Rows Affected.

Implements

IDBConfigWriterAddUpdateWMSLayer(String, Int32, String, String, String, Int32, String, Boolean, Boolean, Boolean, Int32, Int32, Int32, Boolean, Boolean, String, Int32, Int32, String, String, Int32, Int32, Boolean, Int32, String, Boolean, Boolean, String, String, String)
See Also