DBConfigurationBaseAddUpdateXYZLayer Method |
Add an XYZ layer to the site, or update an existing xyz layer.
Namespace:
Cadcorp.Configuration.Connectors
Assembly:
Cadcorp.Configuration (in Cadcorp.Configuration.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntaxpublic virtual int AddUpdateXYZLayer(
string mapConfiguration,
int layerId,
string name,
string[] url,
bool visible,
bool showImageCheckBox,
int projectionID,
string copyright,
int tileHeight,
int tileWidth,
int transitionEffectId,
bool useProxy,
string proxyUrl,
string proxyUserName,
string proxyPassword,
double[] resolutions
)
Public Overridable Function AddUpdateXYZLayer (
mapConfiguration As String,
layerId As Integer,
name As String,
url As String(),
visible As Boolean,
showImageCheckBox As Boolean,
projectionID As Integer,
copyright As String,
tileHeight As Integer,
tileWidth As Integer,
transitionEffectId As Integer,
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
URL of Tile Cache - visible
- Type: SystemBoolean
Visible? - showImageCheckBox
- Type: SystemBoolean
Show Image CheckBox? - projectionID
- Type: SystemInt32
Projection ID - copyright
- Type: SystemString
Copyright Text - tileHeight
- Type: SystemInt32
Tile Height - tileWidth
- Type: SystemInt32
Tile Width - transitionEffectId
- Type: SystemInt32
Transition Effect ID - 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) - resolutions
- Type: SystemDouble
Available resolutions.
Return Value
Type:
Int32Number of Rows Affected.
Implements
IDBConfigWriterAddUpdateXYZLayer(String, Int32, String, String, Boolean, Boolean, Int32, String, Int32, Int32, Int32, Boolean, String, String, String, Double)
See Also