IDBConfigWriterAddUpdateTileCacheLayer Method |
Add a tile cache 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 AddUpdateTileCacheLayer(
string mapConfiguration,
int layerId,
string name,
string[] url,
string layer,
int imageFormatID,
bool imageCheckBox,
int transitionEffectID,
bool includeInLayerTree,
int projectionID,
bool visible,
int tileHeight,
int tileWidth,
string copyright,
bool useProxy,
string proxyUrl,
string proxyUserName,
string proxyPassword,
double[] resolutions
)
Function AddUpdateTileCacheLayer (
mapConfiguration As String,
layerId As Integer,
name As String,
url As String(),
layer As String,
imageFormatID As Integer,
imageCheckBox As Boolean,
transitionEffectID As Integer,
includeInLayerTree As Boolean,
projectionID As Integer,
visible As Boolean,
tileHeight As Integer,
tileWidth As Integer,
copyright As String,
useProxy As Boolean,
proxyUrl As String,
proxyUserName As String,
proxyPassword As String,
resolutions As Double()
) As Integer
Parameters
- mapConfiguration
- Type: SystemString
Map Configuration name - layerId
- Type: SystemInt32
Layer ID, -1 for a new layer. - name
- Type: SystemString
Layer Name - url
- Type: SystemString
Tile Cache URL - layer
- Type: SystemString
Tile Cache layer name - imageFormatID
- Type: SystemInt32
Image Format ID - imageCheckBox
- Type: SystemBoolean
Imae CheckBox - transitionEffectID
- Type: SystemInt32
Transition Effect ID - includeInLayerTree
- Type: SystemBoolean
Include In Layer Tree> - projectionID
- Type: SystemInt32
Projection ID - visible
- Type: SystemBoolean
Visible? - tileHeight
- Type: SystemInt32
Tile Height - tileWidth
- Type: SystemInt32
Tile Width - copyright
- Type: SystemString
Copyright Text - useProxy
- Type: SystemBoolean
User Proxy? - proxyUrl
- Type: SystemString
Proxy URL - proxyUserName
- Type: SystemString
Proxy User Name (if authenticated) - proxyPassword
- Type: SystemString
Proxy Password (if authenticated) - resolutions
- Type: SystemDouble
Resolutions available
Return Value
Type:
Int32Number of Rows Affected.
See Also