DBConfigurationBaseAddUpdateAdditionalWMSLayer Method |
Add an additional 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)
Syntaxpublic virtual int AddUpdateAdditionalWMSLayer(
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
)
Public Overridable Function AddUpdateAdditionalWMSLayer (
mapConfiguration As String,
layerId As Integer,
name As String,
url As String(),
copyright As String,
buffer As Integer,
version As String,
isBaseLayer As Boolean,
includeInLayerTree As Boolean,
visible As Boolean,
projectionId As Integer,
transitionEffectID As Integer,
imageFormatID As Integer,
showLegendButton As Boolean,
imageCheckbox As Boolean,
legendUrl As String,
legendImageHeight As Integer,
legendImageWidth As Integer,
exceptions As String,
abstractText As String,
tileHeight As Integer,
tileWidth As Integer,
displayOutsideMaxExtent As Boolean,
numOfZoomLevels As Integer,
layers As String(),
singleTile As Boolean
) As Integer
Parameters
- mapConfiguration
- Type: SystemString
Map Configuration Name - layerId
- Type: SystemInt32
Layer ID - 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?
Return Value
Type:
Int32Number of Rows Affected.
Implements
IDBConfigWriterAddUpdateAdditionalWMSLayer(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)
See Also