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)
Syntaxint 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
)
Function AddUpdateWFSLayer (
mapConfiguration As String,
layerId As Integer,
name As String,
url As String(),
copyright As String,
version As String,
isBaseLayer As Boolean,
includeInLayerTree As Boolean,
visible As Boolean,
projectionID As Integer,
transitionEffectID As Integer,
imageCheckbox As Boolean,
geometryName As String,
featurePrefix As String,
featureNamespace As String,
maxFeatures As String,
getSchemaData As Boolean,
mapStyleID As Integer,
layerName As String,
isServer As Boolean
) As Integer
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:
Int32Number of Rows Affected.
See Also