| IDBConfigWriterAddUpdateWMTSLayer Method  | 
 
            Add a new WMTS layer to the site, 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
Syntaxbool AddUpdateWMTSLayer(
	string mapConfiguration,
	int layerId,
	string name,
	string copyright,
	string[] url,
	string layerName,
	string matrixSet,
	int buffer,
	string requestEncoding,
	bool visible,
	int imageFormatId,
	string formatSuffix,
	int transitionEffectId,
	bool imageCheckBox,
	bool includeInLayerTree,
	int projectionId,
	bool isBaseLayer,
	string style,
	WMTSSettings settings,
	bool useProxy,
	string proxyUrl,
	string proxyUserName,
	string proxyPassword,
	string apiKey,
	string apiKeyParam
)
Function AddUpdateWMTSLayer ( 
	mapConfiguration As String,
	layerId As Integer,
	name As String,
	copyright As String,
	url As String(),
	layerName As String,
	matrixSet As String,
	buffer As Integer,
	requestEncoding As String,
	visible As Boolean,
	imageFormatId As Integer,
	formatSuffix As String,
	transitionEffectId As Integer,
	imageCheckBox As Boolean,
	includeInLayerTree As Boolean,
	projectionId As Integer,
	isBaseLayer As Boolean,
	style As String,
	settings As WMTSSettings,
	useProxy As Boolean,
	proxyUrl As String,
	proxyUserName As String,
	proxyPassword As String,
	apiKey As String,
	apiKeyParam As String
) As Boolean
Parameters
- mapConfiguration
- Type: SystemString
 Map Configuration Name
- layerId
- Type: SystemInt32
 Layer ID, -1 for new layer
- name
- Type: SystemString
 Layer Name
- copyright
- Type: SystemString
 Copyright Text
- url
- Type: SystemString
 WMTS Url
- layerName
- Type: SystemString
 Layer from WMTS to use
- matrixSet
- Type: SystemString
 Matrix Set name
- buffer
- Type: SystemInt32
 Buffer
- requestEncoding
- Type: SystemString
 Request Encoding
- visible
- Type: SystemBoolean
 Visible?
- imageFormatId
- Type: SystemInt32
 Iamge Format ID
- formatSuffix
- Type: SystemString
 Format Suffix
- transitionEffectId
- Type: SystemInt32
 Transition Effect ID
- imageCheckBox
- Type: SystemBoolean
 Show Image Checkbox?
- includeInLayerTree
- Type: SystemBoolean
 Include in Layer Tree?
- projectionId
- Type: SystemInt32
 Projection ID
- isBaseLayer
- Type: SystemBoolean
 Is Base Layer?
- style
- Type: SystemString
 Style
- settings
- Type: Cadcorp.ConfigurationWMTSSettings
 Settings
- 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)
- apiKey
- Type: SystemString
 Api Key
- apiKeyParam
- Type: SystemString
 Api Key Param
Return Value
Type: 
BooleanBoolean to indicate success
 See Also
See Also