Click or drag to resize

IDBConfigWriterAddUpdateWFSLayer Method

Add a WFS Layer 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
int AddUpdateWFSLayer(
	string mapConfiguration,
	int layerId,
	string name,
	string[] url,
	string copyright,
	string version,
	bool isBaseLayer,
	bool includeInLayerTree,
	bool visible,
	int projectionID,
	int transitionEffectID,
	bool imageCheckbox,
	string geometryName,
	string featurePrefix,
	string featureNamespace,
	string maxFeatures,
	bool getSchemaData,
	int mapStyleID,
	string layerName,
	bool isServer
)

Parameters

mapConfiguration
Type: SystemString
Map Configuration Name
layerId
Type: SystemInt32
Layer ID, -q if new
name
Type: SystemString
Layer Name
url
Type: SystemString
WFS URL
copyright
Type: SystemString
Copyright Text
version
Type: SystemString
WFS Version
isBaseLayer
Type: SystemBoolean
Is Base Layer?
includeInLayerTree
Type: SystemBoolean
Include in layer tree?
visible
Type: SystemBoolean
Visible?
projectionID
Type: SystemInt32
Projection ID
transitionEffectID
Type: SystemInt32
Transition Effect ID
imageCheckbox
Type: SystemBoolean
Show Image Checkbox?
geometryName
Type: SystemString
Geometry Column Name
featurePrefix
Type: SystemString
Feature Prefix
featureNamespace
Type: SystemString
Feature Namespace
maxFeatures
Type: SystemString
Maximum number of features
getSchemaData
Type: SystemBoolean
Get Schema Data?
mapStyleID
Type: SystemInt32
Map Style ID
layerName
Type: SystemString
Name of layer to display wfs data from
isServer
Type: SystemBoolean
Is this a server layer?

Return Value

Type: Int32
Number of Rows Affected.
See Also